This challenge is written for the Raspberry Pi as it uses the GPIO pins however it can be adapted for any system with Python and PyGame available and/or written in other languages.

The aim of the game is to get the ball over the goal. Create a game that gets the user to control a ball using the keyboard controls.  The keys should be programmed in such a way that a Makey Makey keyboard can be used.

On success an appropriate output will occur if the program is running on the Raspberry Pi then this could trigger one of the GPIO pins (requires the Python GPIO library) and allow sweets to drop.


  1. Keep score
  2. Add a time limit
  3. Add a fancy background
  4. Add drift physics
  5. Allow for two players

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.