Escape from the evil space squids!
YOU’LL NEED
• Any Raspberry Pi
• Raspberry Pi OS
• Breadboard
• LED
• 330 Ohm resistor (Orange-Orange-Brown-Gold)
• 2 x female-to-male jumper wires
• Code: https:// github.com/lesp/LXF 275-PiUser-SpaceEscape/archive/main.zip
Block-based coding is a great way to introduce the concepts of coding, via an easy-to-understand mechanism. Blocks of code are stacked to create a flow, and if we encounter a mistake, we can easily pull the code apart to “debug”.
Scratch is a popular block editor and in this tutorial we’ll create a space escape game, where our rocket is trapped on an alien world and we need to calculate the correct thrust for lift-off. If we get it wrong more than 10 times then the evil space squids will get us.
Scratch 3 should come pre-installed on your Raspberry Pi OS image, but if it’s missing it can be installed from
You’re reading a preview, subscribe to read more.
Start your free 30 days