https://github.com/minemetero/table-tennis-counter
Table-Tennis-Counter | 乒乓球记分器
https://github.com/minemetero/table-tennis-counter
counter javascript ping-pong-online score-board table-tennis-score-board website
Last synced: 3 months ago
JSON representation
Table-Tennis-Counter | 乒乓球记分器
- Host: GitHub
- URL: https://github.com/minemetero/table-tennis-counter
- Owner: Minemetero
- License: apache-2.0
- Created: 2024-06-04T09:01:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T07:39:40.000Z (almost 2 years ago)
- Last Synced: 2024-07-10T06:47:18.195Z (almost 2 years ago)
- Topics: counter, javascript, ping-pong-online, score-board, table-tennis-score-board, website
- Language: JavaScript
- Homepage: https://minemetero.github.io/Table-Tennis-Counter/
- Size: 157 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Table Tennis Counter
Table Tennis Counter is a web application that you can track scores for a ping-pong game. It supports multiple players, keeps track of the match history, and updates scores automatically.
## Introduction
### Features
+ Add multiple players
+ Set the number of balls needed to win a match
+ Automatically update scores for each match
+ Display current match and scores
+ Show match order
+ Maintain match history
+ Responsive design with a user-friendly interface
+ Multi Language Support
### Usage
+ **Set Winning Balls:**
+ Enter the number of balls needed to win a match in the input field.
+ **Add Players:**
+ Enter the player's name in the input field and click the "Add Player" button.
+ **Start Game:**
+ After adding at least two players, click the "Start Game" button.
+ **Track Scores:**
+ In the current match section, click the "Score" button next to the player's name to increment their score.
+ **View Scores and History:**
+ The left section shows the total scores for each player.
+ The middle section shows the current match details and allows score incrementing.
+ The right section shows the match order and match history.
+ **Match Results:**
+ When a player wins a match, their total score is incremented, and the next match is automatically set up after a short delay.
+ **Reset Game:**
+ To reset the game, refresh the page or reload index.html.
## Contributing
[Contribution Guide [English]](./CONTRIBUTING.md) | [贡献指南 [中文]](./docs/CONTRIBUTING.zh-CN.md)
## License
This project is licensed under the Apache-2.0 License. See the [LICENSE](./LICENSE) file for details.
## Acknowledgement
This project uses or references the following open source projects:
- **Sober.js** [[Official Website]](https://soberjs.com) [[GitHub]](https://github.com/apprat/sober)
Sober is a Web Component UI component library that references the Google Material You design specification.
- **canvas-confetti** [[Official Website]](https://catdad.github.io/canvas-confetti/) [[GitHub]](https://github.com/catdad/canvas-confetti)
🎉 performant confetti animation in the browser
Thanks to these projects and their authors.