In this project I made an old school style video game for the Adafruit PyBadge. To recreate it you will need to use an CircuitPython and the stage library to create the game which I called Egg Collector. The game will also work on other variants of PyBadge hardware, like the PyGamer and the EdgeBadge. The full completed game code with all the assets can be found here.

The guide assumes that you have prior coding experience, hopefully in Python. It is designed to use just introductory concepts. No Object Oriented Programming (OOP) are used so that anyone with a basic grade 11 knowledge of python programming can recreate it.


You will need the following items:

USB Cable

Pink and Purple Braided USB A to Micro B Cable - 2 meter long


So you can move your CircuitPython code onto the PyBadge.

You might also want:

Lipo Battery

Lithium Ion Polymer Battery Ideal For Feathers - 3.7V 400mAh


So that you can play the game without having it attached to a computer with a USB cable.

USB Cable

Mini Oval Speaker - 8 Ohm 1 Watt


If you want lots of sound. Be warned, the built in speaker is actually pretty loud.

USB Cable

3D Printed Case

I did not create this case. I Used Mr Coxall’s design <https://learn.adafruit.com/pybadge-case/>`_.