I added some movements to the whack a mole I made last week.
I used a servo motor to tell the score, so it’s easier to understand what is going on. I also added some drawn moles and a note for the knob.
Here is the video.
The code is not too different from the old one. I changed the part for the red LED lights (the ones that showed the score) to work with the servo motor. I also rewrote the part for the LEDs that’s on the top of the breadboard.