#199IntermediatePremium

Raspberry Pi Pico Whack-a-Mole (4 LEDs + 4 Buttons + Buzzer)

Hit it when it lights up! The arcade classic Whack-a-Mole on your desk with a Raspberry Pi Pico. Four LEDs are four holes; a lit LED is a mole popping up, so press the button on the same row before the light goes out. Every 5 hits you level up and the moles stay up for less time. You get 3 misses, and a buzzer announces every hit, miss and new record.

0.0(0)
Raspberry Pi Pico Whack-a-Mole (4 LEDs + 4 Buttons + Buzzer)

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions