Sonar Flap (ultrasonic) is a ready-made Basys 3 FPGA game written in Verilog. It uses HC-SR04 ultrasonic sensor, VGA. Play it free right in your browser - nothing to install, no FPGA board needed.
How to play
Your hand height over the ultrasonic sensor sets the bird's height: drag the distance slider (or the sensor card). btnC starts. sw0 = distance on the 7-segment display, sw1 = easy mode.
What it uses
Verilog · HC-SR04 ultrasonic sensor, VGA
The code: download the Verilog project (.zip) — read it, change it, and run your version with the free PC program.