In this cute Easter themed game for the Fruit Jam, you control a bunny character running around a 2D maze. While exploring the maze's twists and turns you'll find colorful painted eggs. At the end of each round you can select the eggs you like the most and save them to your permanent collection. Your collection is stored safely in a JSON file on the CPSAVES portion of flash so it remains available even after you power off and back on the Fruit Jam.
The project demonstrates the following CircuitPython game development techniques:
- Randomly generated 2D mazes with
TileGridsprites. - USB game controller input for character movement and UI controls.
-
TileGridbased collision detection for walls and eggs. - Layered
TileGridsfor covering the map with fog and revealing an area when the player gets near. - Using
TilePaletteMapperto map combinations of colors into the palettes of grayscale base sprites. - Storing persistent game data in CPSAVES storage.
- Direction specific player sprite animations for movement.
Once you've had your fill of bunnies and colorful eggs you can take and adapt parts of the project code into other CircuitPython games.
Page last edited April 01, 2026
Text editor powered by tinymce.