A classic Pong game implementation using p5.js. Play against an AI opponent in this timeless arcade game.
- Open
index.htmlin a web browser to start the game - Press SPACE to begin
- Use UP and DOWN arrow keys to move your paddle
- First to score 5 points wins!
- Player vs AI gameplay
- Score tracking
- Increasing ball speed as the game progresses
- Win condition and game reset
- Responsive AI opponent
- UP ARROW: Move paddle up
- DOWN ARROW: Move paddle down
- SPACE: Start game / Restart after win
The game is built using:
- HTML5
- CSS3
- JavaScript
- p5.js library
Game settings can be adjusted in js/config.js, including:
- Canvas dimensions
- Paddle size and speed
- Ball size and speed
- Winning score