https://github.com/vikvanderlinden/darts
A counter to keep up with your darts scores.
https://github.com/vikvanderlinden/darts
darts scoreboard
Last synced: 6 months ago
JSON representation
A counter to keep up with your darts scores.
- Host: GitHub
- URL: https://github.com/vikvanderlinden/darts
- Owner: vikvanderlinden
- License: mit
- Created: 2021-08-13T18:41:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-07T00:06:05.000Z (almost 4 years ago)
- Last Synced: 2025-02-12T21:44:02.431Z (8 months ago)
- Topics: darts, scoreboard
- Language: Vue
- Homepage: https://darts.vikvanderlinden.be
- Size: 540 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/vikvanderlinden/darts/blob/main/LICENSE)
[](https://github.com/vikvanderlinden/darts/)
[](https://github.com/vikvanderlinden/darts/issues)# Darts
This is a very simple score counter for some games of darts.
The rules implemented have been taken from [https://www.darting.com/Darts-Rules/](https://www.darting.com/Darts-Rules/)
## Local setup
1. Install docker
2. install VS Code
3. Install devcontainers plugin (`ms-vscode-remote.remote-containers`, also included in `ms-vscode-remote.vscode-remote-extensionpack`)
4. Open project in devcontainer
5. Run run.sh: `./run.sh` (you might have to `chmod +x run.sh` first)
6. Go to http://127.0.0.1:8888## State Machine
```
INIT -> READY -> STARTED -> PAUSED
^ | ^ ----|------> FINISHED
|_______| |______| |
|__________________| |
|____________________________|
reset
```1. `INIT`
- Have to add users
- Have to select game variant
- Game cannot be played
- Can change settings2. `READY`
- Start button shown
- Game cannot be played
- Can change settings3. `STARTED`
- Pause button shown
- Reset button shown
- Game can be played
- Cannot change settings4. `PAUSED`
- Continue button shown
- Reset button shown
- Game cannot be played
- Cannot change settings5. `FINISHED`
- One player has won
- Reset button shown
- Game cannot be played
- Cannot change settings