2D Ping-Pong game based on the Classic Atari version built using p5.js.
It can be played as a Player 1 vs Player 2 or a Single Player vs AI :
Player 1 vs Player 2:
- Player 1 : Use 'w' and 's' keys to move up and down.
- Player 2 : Use 'up arrow' and 'down arrow' keys to move up and down.
Player 1 vs AI(or CPU):
- Player 1 : Use 'w' and 's' or 'up arrow' and 'down arrow' keys to move up and down.
The Game can be also paused by pressing 'Space Bar'
The maximum score is 10 points. Enjoy the game!