MISSION 5
Light-Up Attack Sword for Battling Vampire Zombies
This is the perfect combination for defending your home against vampire zombies: a light and a sword. With the micro:bit and the Circuit Playground Express, you can make a very cool sword. The question is, which one will win the battle?
Figure 5.1 Choose your weapon wisely.
Algorithm
We’re not just going to light up a sword. We’re going to use the tilt sensor inside each device and change the color of the light as we swing the sword.
My cool animation is going to be turning on ...
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.