This is the base of the "Seismograph Whack-a-Mole" exercise. Your goal is to fill in the code to make a complete game. The goal of the game is to whack the ghouls but not the monkeys. Ghouls are +1 point. Monkeys are -5 points.
This project requires a seismograph sensor that outputs the letters 'A' through 'Z' depending on how much things shake. If you don't have a sensor, press any letter to bang the hammer immediately followed by 'M' to reset it back.