Sea Battle is a VGA game with sprites for the Tiny Tapeout Demoscene competition.
The Sea Battle design is used as a part of basics-graphics-music GitHub repository of Verilog examples, which is maintained by the Verilog Meetup community.
The game uses two keys, left and right, to control a torpedo. Pressing any key starts the movement. The goal is to hit the moving target.
The design is supposed to work on a 23 MHz frequency and connect to a VGA display using a Tiny VGA board with 2 bits per color channel.
The design was tested on several FPGA boards and has no self-checking Verilog testbench for simulation. We just hope it is going to work on ASIC silicon as is.
Buttons and a Tiny VGA connector.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Key right | VGA red [1] | |
1 | Key left | VGA green [1] | |
2 | VGA blue [1] | ||
3 | VGA vsync | ||
4 | VGA red [0] | ||
5 | VGA green [0] | ||
6 | VGA blue [0] | ||
7 | VGA hsync |