Lab6
Video Game PONG
Extend the FPGA code developed in Lab 3 (Bouncing Ball) to build a PONG game using a 5kΩ potentiometer with a 12-bit analog-to-digital converter (ADC) called Pmod AD1 connected to the top pins of the Pmod port JA
Modifications:
1) Change ball speed using the slide switches on the Nexys A7-100T board to program the ball speed in the range of 1-32 pixels per frame
2) Bat width decreases one pixel each time successfully hitting the ball and then resets to starting width when missing the ball (In this example making the bat decrease by 3 pixels each time to see the change quicker)
3) Count the number of successful hits after each serve and display the count in binary on the 7-segment displays of the Nexys A7-100T board