Skip to content

artur-simon/03-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pong Game

A classic Pong game implementation using p5.js. Play against an AI opponent in this timeless arcade game.

How to Play

  1. Open index.html in a web browser to start the game
  2. Press SPACE to begin
  3. Use UP and DOWN arrow keys to move your paddle
  4. First to score 5 points wins!

Features

  • Player vs AI gameplay
  • Score tracking
  • Increasing ball speed as the game progresses
  • Win condition and game reset
  • Responsive AI opponent

Controls

  • UP ARROW: Move paddle up
  • DOWN ARROW: Move paddle down
  • SPACE: Start game / Restart after win

Technical Details

The game is built using:

  • HTML5
  • CSS3
  • JavaScript
  • p5.js library

Configuration

Game settings can be adjusted in js/config.js, including:

  • Canvas dimensions
  • Paddle size and speed
  • Ball size and speed
  • Winning score

Releases

No releases published

Packages

No packages published