An Asteroids clone game in CircuitPython #CircuitPython #PyBadge #Gaming @mrcoxall
Yet another great game written in CircuitPython by Mr. Coxall’s grade 11 CS class: Asteroid Breaker. It runs on Adafruit hardware such as the Adafruit PyBadge, PyGamer, and EdgeBadge.
In this project we will be making an old school style video game for the Adafruit PyBadge. We will be using CircuitPython and the stage library to create a Asteroids like game. The stage library makes it easy to make classic video games, with helper libraries for sound, sprites and collision detection. 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 students in particular that have completed their first course in coding and know just variables, if statements, loops and functions will be able to follow along.
See the video below, the tutorial and the GitHub repo for source code and resource files. Bravo students!
For more on CircuitPython see circuitpython.org and Awesome CircuitPython.