Keypad Whack-a-Mole is a ready-made Basys 3 FPGA game written in Verilog. It uses PmodKYPD 4x4 keypad, speaker, VGA. Play it free right in your browser - nothing to install, no FPGA board needed.
How to play
A mole pops out of a hole: hit the key printed on that hole before it hides. Misses and wrong keys cost a life (3). btnC starts. Optional speaker on JB1 (sw15 = silent).
What it uses
Verilog · PmodKYPD 4x4 keypad, speaker, VGA
The code: download the Verilog project (.zip) — read it, change it, and run your version with the free PC program.