HFOSS update: Sugar games
For the last couple weeks in HFOSS, we have been working on our final project. The final project for HFOSS has traditionally been an educational game for the OLPC XO laptop. OLPC was an attempt in the early 2000s to create a low cost, durable laptop for children in developing countries. The project has lost a lot of steam due to funding but the software environment is still active.
The software environment that was developed for the OLPC XO is a desktop called Sugar. It is currently available on most major Linux distributions. The primary OS for Sugar is Sugar On A Stick, a distribution based on Fedora.
The game that we are developing is a version of the classic arcade game snake. In our version of snake, a multiplication problem is presented to the user and the apples on screen contain various numbers wit only one of them being the correct answer to the problem. If the user eats the apple containing the correct answer a point is awarded. If the user eats an apple with an incorrect answer or collides with with one of the walls of the game, the game ends.
This project has presented me with various challenges. Most of the challenges I encountered in this project were related to adding a Sugar GTK window and the associated event handling to the existing pygame. It took me a number of tries to get it right and find the correct order of instructions to allow the events to be processed and not lock up the application. Overall, I am happy with our progress on the project and my contribution to it and I hope the final result is even better.
More information can be found at the links below.