A simple and interactive Table Tennis (Ping Pong) Scoreboard web app built using HTML, CSS, and JavaScript. It allows two players to increment scores, set a winning score, and track who wins.
- ๐ฎ Track scores for Player 1 and Player 2
- ๐ Display the winner when the target score is reached
- ๐ Reset button to restart the game anytime
- โฌ๏ธ Customizable Winning Score (5, 10, 15)
- โจ Clean and responsive UI design
๐ Try it Live (https://tt-score-board.netlify.app)
TT-ScoreBoard
โโโ index.html # Main HTML file
โโโ style.css # Stylesheet for layout and design
โโโ script.js # JavaScript logic for game functionality
โโโ README.md # Project documentation
- Clone this repo or download the ZIP.
- Open
index.htmlin your browser. - Use the
+ Player 1and+ Player 2buttons to increase the score. - Choose the winning score from the dropdown.
- When a player reaches the winning score, the game announces the winner.
- Click
Resetto restart the game.
- HTML5
- CSS3 (Flexbox)
- Vanilla JavaScript (DOM manipulation)
This open-source project is available under the MIT License.
Feel free to fork the repo and enhance the scoreboard with your creative features!
| Key | Action |
|---|---|
| A | Add point to Player 1 |
| L | Add point to Player 2 |
| R | Reset the game |