https://jason-toh.github.io/Pong/
- Clone this repo
- Run npm -i to download node_modules
- Open index.html and run on local browser
The goal of the game is to be the first to reach 7 points in the game.
To score a point, simply knock the ball to the opposite site of the wall.
The opponent can deflect the ball by knocking it back.
W or ⬆️ to move the padde up
S or ⬇️ to move the paddle down