A simple snake game with vga output and left,right,up,down buttons.
Connect to a VGA monitor. Change left,right,up,down (ui_in[0:3]) buttons to change movement.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | left | R1 | |
1 | right | G1 | |
2 | up | B1 | |
3 | down | VSync | |
4 | R0 | ||
5 | G0 | ||
6 | B0 | ||
7 | HSync |