项目作者: vikvanderlinden

项目描述 :
A counter to keep up with your darts scores.
高级语言: Vue
项目地址: git://github.com/vikvanderlinden/darts.git
创建时间: 2021-08-13T18:41:24Z
项目社区:https://github.com/vikvanderlinden/darts

开源协议:MIT License

下载


MIT License
Version
Open 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/

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

  1. INIT -> READY -> STARTED -> PAUSED
  2. ^ | ^ ----|------> FINISHED
  3. |_______| |______| |
  4. |__________________| |
  5. |____________________________|
  6. reset
  1. INIT

    • Have to add users
    • Have to select game variant
    • Game cannot be played
    • Can change settings
  2. READY

    • Start button shown
    • Game cannot be played
    • Can change settings
  3. STARTED

    • Pause button shown
    • Reset button shown
    • Game can be played
    • Cannot change settings
  4. PAUSED

    • Continue button shown
    • Reset button shown
    • Game cannot be played
    • Cannot change settings
  5. FINISHED

    • One player has won
    • Reset button shown
    • Game cannot be played
    • Cannot change settings