- Learn Linux
- Learn Electronics
- Raspberry Pi
- LPI certification
- News & Reviews
Space Asteroids physical computing game written in Scratch or Python 3, using Pygame Zero and GPIO Zero
The game is a cross between Space Invaders and Asteroids. All the sprites are created from scratch in Blender and programmed to interact with electronic button switches and an LED.
This worksheet is created for a version of the Space Asteroids game that is created in Scratch 2 on the Raspberry Pi.
It’s designed for those young and old who have preferably done a bit of Scratch programming before, but want to take first steps in physical computing or designing an interactive game. It’s also suitable for complete beginners to Scratch, who may need some help to get started with using Scratch.
This worksheet is created for a version of the Space Asteroids game that is created in Pygame Zero (Python 3) on the Raspberry Pi.
This is designed for older students and adults that have already done some programming in Python, but want to learn about designing games in pygame zero or how to connect to simple electronics using gpio zero.
The image files used in the project are available from the link below.
Please view the copyright information regarding use of the circuits.