Check out the live demo: GitHub Pages Demo
A simple and interactive Pong game built with HTML5, CSS, and JavaScript. The game features a player vs. player mode where you control paddles to hit the ball back and forth. The game includes a score counter, pause, start, stop, and restart buttons for full control over the gameplay.
- Player vs. Player Mode: Two players control paddles to play against each other.
- Score Display: Displays the current score for both players.
- Control Buttons:
- Start: Starts a new game.
- Stop: Pauses the game.
- Restart: Restarts the game from the beginning.
- Pause Icon: A button to pause the game.
- Boxicons: For the pause button icon.
- Navigate to the project folder:
cd pong-game- Open the index.html file in your browser to play the game.
-
The game starts when you click on the Start button and stops with the Stop button.
-
To restart the game, click the Restart button.
-
Use the paddles to hit the ball back and forth and score points.
-
The Pause button allows you to pause the game.
Created by MDJAmin. Check out more projects on GitHub.