Chapter 19. The Rocket Launching Game (with Processing)

Would you like to build a rocket launching game? How cool would it be to launch the rockets from your Maker bench or bedroom? Since launching real rockets is a bit beyond the scope of this book, we’re going to use four pushbutton switches and the Arduino microcontroller to build a virtual rocket launcher. The rest is done in Processing. The electronic components to build this gadget are shown in the Parts List. The Rocket Launcher is shown in Figure 19-1.

Parts List

  • Arduino microcontroller
  • MakerShield kit
  • R1-R5: 1KΩ resistors (brown, black, red stripes)
  • S1-S4: pushbutton switches
  • USB cable
  • Full-size breadboard
Figure 19-1. The Rocket Launcher

Let’s Build a Rocket Game

The Rocket Game, like ...

Get Basic Arduino Projects 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.