This is a simple Pong game implemented using HTML, CSS and JavaScript. The game includes two players (a human and a computer) and a scoreboard to keep track of the score.
-
Use the W and S keys to control the player on the left (up and down respectively).
-
The player on the right is controlled automatically by the computer.
-
The aim is to prevent the ball from passing through their side of the pitch.
-
Each time the ball passes the opposing player, you score a point.
-
The game continues until one of the players reaches the maximum score.
- Clone this repository to your local environment.
git https://github.com/leticiaveigacs/ponggame.git
- Open the
index.html
file in your web browser.
You can see a demo of the game:
This Pong Game project is implemented using the following technologies: HTML, CSS, JavaScript. Here are some of the functionalities implemented in JavaScript: ball movement, player control, computer logic, scoreboard.