GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

Sugar: Intro to Sugar 3

completed by: Nathan Chalus

mentors: Amaury Medeiros, Arc Riley, David Czech, Jon Neal, AJ Williams

Sugar is the operating system for the One Laptop Per Child laptops, with over 2.4 million "XO" laptops being used by students and teachers around the world. While Sugar is primarily 2d (based on PyGame and PyGTK), XO 1.5 and higher have accelerated 3d available. As PySoy targets lower-powered machines and is designed for use by all ages, uses the same technologies (eg, Python, Glib, XMPP), its an ideal 3d game engine to run on Sugar.

As Sugar is based on Fedora, its relatively easy to get PySoy running on it.

First, download Sugar on a Stick and follow the installation instructions to make a bootable USB stick. Boot this stick on your Linux, OSX, or Windows computer.

Next, follow install Mercurial, clone libsoy and pysoy, follow the Fedora instructions in their INSTALL files, configure, build, install, and test. If this is your first time installing PySoy from Mercurial, refer to our "Intro to Linux Development" tasks for more detailed instructions.

This USB stick with Sugar and PySoy on it will be needed for any of our Sugar tasks, so keep it available.

Document the steps you took to build or install dependencies in libsoy/INSTALL and make any necessary changes to wscript.

While access to an XO laptop would be ideal, you may perform this work using Sugar on a Stick.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, take a photo of the screen running CollideBlocks.py on Sugar and upload that photo to this task.