Final Project
2 Player PONG
Features:
Make the bats move vertically
Make 2 bats controlled by 2 separate potentiometers
Score Counter for both teams
Reset the score
Both of the bats can be controlled at the same time by different controllers. The Ja port controls the blue bat and the Jb port controls the pink bat with a pmod.
The blue bat scores by getting the ball passed the pink bat and and to hit the top of the screen, the pink bat scores by getting the ball passed the blue bat and hit the bottom of the screen.
The starting score is 3 and when the blue bat scores, the points go up by 1. When the pink bat scores the score goes down. By hitting btnu it resets the score back to 3.
Future Work:
The score currently displays a score of 3 and goes up and down when one player scores. The issue with this is that when the score goes below 0, it goes all the way to F. It would be better if the score was displayed for each player separately on the display.
Add more dynamic ball movements. The current game is boring as the ball is very predictable. Maybe make the speed of the bat in the x direction give the ball more velocity in the x direction.
Better hit detection for the bats at the sides of the screen. The current implementation is a bit buggy where the ball goes through the bat when its on the side of the screen.