Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jukben/ping-pong-counter
https://github.com/jukben/ping-pong-counter
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jukben/ping-pong-counter
- Owner: jukben
- Created: 2024-01-10T21:05:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T08:58:54.000Z (4 months ago)
- Last Synced: 2024-10-12T13:26:56.121Z (about 1 month ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Ping Pong Counter
## Overview
Ping Pong Counter is a straightforward application designed to help you keep track of scores during a ping pong game. It seamlessly integrates with [Hama BRS3 Bluetooth](https://www.alza.cz/hama-brs3-bluetooth-d6190011.htm) for a convenient experience.
## Features
- Easily increment the score for either player by clicking on their respective buttons.
- When one of the players reaches 11 points, the game ends, and you can reset the score to 0-0.
- The app conveniently keeps track of who's serving.
- Logs the history of the game, so you can see how the score changed over time.## Controls
- single click – increment the score for the respective player
- double click – decrement the score for the respective playerIn case score is 0 - 0:
- double click - change who's serving
- triple click - change sides## Development
To develop this app, you must have Node.js installed on your system. For streamlined development, you can emulate controllers mapped to the "s" and "a" keys. Simply follow these steps:
```bash
npm install
npm run dev
```If you prefer to use real controllers, follow these instructions:
```bash
npm install
npm run start
```Feel free to contribute to the project and improve the ping pong experience!