LampPi

 

Projects

Sweet Shop Reaction Game

Sweet Shop Reaction Game

What you will make

Some penny sweets or candy can make great input devices for a game using a RaspberryPi. You will learn how to turn a squidgy sweet into an input button for your RaspberryPi. You will then create a quick reaction game in Scratch that counts how many times a player can squeeze your sweet input device in ten seconds!


What you will learn

By making a sweet shop reaction game on your RaspberryPi you will learn:
◾ How to turn a squidgy sweet into an input button
◾ How to use Scratch to sense when the sweet button is pressed
◾ How to program a game to record how many times the button has been pressed, using loops and variables.


About

Contact

Links

Site Map

© LampPi 2024