Skip to content

A minimalistic scoreboard webapp for Tumblin-Dice

License

Notifications You must be signed in to change notification settings

rrobby86/dicecore

Repository files navigation

DiceCore

A minimalistic scoreboard webapp for Tumblin-Dice

Available at https://rrobby86.github.io/dicecore

Usage

  • Click to add a player and select their name and color
  • Click on a round score to set it
    • Click on one of the four areas (1x to 4x) to select it, then click on dice on the left to add them to selected area
    • Click on a die inside an area to remove it
    • Total scores for each round and for each player are computed automatically
  • Click next to a player to change their name or color
  • Click next to a player to remove them (scores are lost, can't be undone!)
  • Click to sort players by descending score
  • Click to sort players randomly (e.g. to determine turn order)
  • Click to clear all scores keeping the same players or to clear everything (can't be undone!)

Data

All data is saved using local storage on your browser and persisted across visits.

Next steps

(in rough priority order)

  • HTML improvements for proper navigation
  • dark theme and overall CSS improvement
  • selectable number of rounds
  • keep history of games and players

Development

Based on Vue.js with Vite; using Pug for compactness

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build