Just finished the classic tennis game Pong for my Basys 2 FPGA (built from scratch). The project is written in VHDL and is played on a VGA monitor. You can see a video of it in action at the bottom of this article.
Just visit the GitHub Repo.
Action | Control |
---|---|
Player Left/1 Paddle movement | btn2 and btn3 |
Player Right/2 Paddle movement | btn0 and btn1 |
Reset | switch0 |
Player Left/1 AI Enable | switch7 |
Player Right/2 AI Enable | switch6 |
A small list of things implemented in this design:
I entered this project into the Hackaday Fubarino Contest so of course there is an easter egg. Just get the score to read 1337
and you will see an awesome Hackaday mode. This means the player on the left side needs 13
points and player on the right needs 37
points. The mode lasts for as long as you keep the score as 1337
so you will have to work together to volley the ball around. I made two versions of the pixel hackaday logo but ended up using the bigger one as the ball.
Featured on Hackaday.com: Fubarino Contest: FPGA Pong
Update 2013-12-31: I am one of the Fubarino Contest Winners! (article on Hackaday)
Watch the video to see this special mode: