MISSION 6
Reaction Game to Test for Zombies
Figure 6.1 I mean, how will we ever know who the zombie is?? They’re identical twins!
Everyone knows that zombies are really slow and can’t react as quickly as humans. So a good test to know if someone is a zombie or not is to challenge him or her to a reaction game.
The game is simple: there are two buttons. The device counts down, and when it gets to 0, the first person to press his or her button wins, is human, and won’t be hunted down. The following program uses the built-in buttons on the micro:bit and the Circuit Playground Express and the keyboard for the Raspberry Pi. The “Expert Level” ...
Get Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.