The Diary

FPGA Games

Snake (keyboard)

Snake (keyboard) is a student Basys 3 FPGA project written in Verilog. It uses USB keyboard (PS/2). Play it free on this site: the simulation runs on your own PC, no FPGA board needed.

Play now ▸

How to play

Press btnC (Space is sent to the keyboard, so click btnC with the mouse) to start, then the arrow keys steer

What it uses

Verilog · USB keyboard (PS/2)

The original .xdc puts Hsync on N19 (a red colour pin) and Vsync on P19 (the Hsync pin), so the real monitor would show nothing - the simulator shows 'No signal' too. The fixed .xdc is added.

Source code: github.com/Claudiolisyus/SNAKEGAME-VERILOG

More games like this

Flappy Bird with Q-learning AIPONG with score text (keyboard)Pong for two players (keyboard)Snake with a USB keyboard