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/
- Install docker
- install VS Code
- Install devcontainers plugin (
ms-vscode-remote.remote-containers
, also included inms-vscode-remote.vscode-remote-extensionpack
) - Open project in devcontainer
- Run run.sh:
./run.sh
(you might have tochmod +x run.sh
first) - Go to http://127.0.0.1:8888
INIT -> READY -> STARTED -> PAUSED
^ | ^ ----|------> FINISHED
|_______| |______| |
|__________________| |
|____________________________|
reset
-
INIT
- Have to add users
- Have to select game variant
- Game cannot be played
- Can change settings
-
READY
- Start button shown
- Game cannot be played
- Can change settings
-
STARTED
- Pause button shown
- Reset button shown
- Game can be played
- Cannot change settings
-
PAUSED
- Continue button shown
- Reset button shown
- Game cannot be played
- Cannot change settings
-
FINISHED
- One player has won
- Reset button shown
- Game cannot be played
- Cannot change settings