Linux Format

Escape from the evil space squids!

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 the main menu, under Preferences> Recommended Software. Scratch 3 is found in the Programming category; place a tick in the box and click Apply to install. Once installed,Scratch 3 can be found in the main menu under Programming.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format3 min read
Hacker Distros
Kali has it all if you want a pre-made networkhacking distribution. It has an impressive number K of editions to cover most installation scenarios, plus a slick-looking lightweight desktop and a huge set of built-in, well-categorised hacking tools. I

Related