Collect the Dots game using the SenseHAT and Scratch on a Raspberry Pi

Albert Hickey is a big fan of using the SenseHAT on the Raspberry Pi and also of using Scratch, the visual programming language. So, he decided to use both with this simple game. You’re presented with a blue dot (which is you) and a red dot. By using either the SenseHAT joystick or the keyboard, you must ‘collect’ the red dot, at which point another red dot is spawned and on you go. The dots are shown on-screen as well as on the SenseHAT. The code is on GitHub or you can play it online without the SenseHAT by visiting Albert’s blog, where he’s written the project up. You can see the game in action in the video below:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.