Still the same old whack-A-mole using all the buttons in the 4×4 keypad array paired with an OLED display.
There is 16 framed boxes on the OLED display that corresponds to all 16 buttons of the keypad.
Press the button that corresponds to the solid box that will appear on the display to get a point.
Default game rounds is 10, after that he score will be posted in the end screen.
You can edit the total number of rounds value by changing the “playVal” in the global variable declaration.
Feel free to modify the display to have it look much better than the default.