FPGA PONG
While playing with VGA on an FPGA, I decided to build a 2 player pong game in VHDL. The 2-player pong game has 2 walls with paddles and a ball that bounces around the screen. When the ball hits a paddle, the score for the player is incremented, and when the ball misses a paddle, the lives or balls left for the player is decremented. When the lives or ball of a player reaches zero, the game is over and the other player wins and a game over is shown on the screen. I used a ps2 keyboard for the player controls and wrote a ps2 drver in VHDL. The code was tested on an altera DE1 development board and the entire project can be found here.