Skip to content

Repository files navigation

Yahtzee Scorecard

Offline Yahtzee scorecard keeper as a standalone static PWA — solo personal tracking plus pass-and-play turn-based games. No app store install required.

Live: https://yahtzee.silocitylabs.com

Forked from the SiloCityLabs Recorder PWA shell (service worker, build hash stamping, Cloudflare Pages deploy) and rebuilt as a table scorecard tracker.

Features

  • Personal (solo) games with local history and stats (games count, high score, average, Yahtzees)
  • Turn-based pass-and-play for 2–6 players with turn indicator and player tabs
  • Full scorecard: upper section + 35-point bonus, lower section, Yahtzee bonuses
  • Tap a box to enter points from your physical dice (quick values + manual entry)
  • Undo last score, end/abandon game, resume in-progress games
  • How to play + links to official Hasbro / Winning Moves PDFs
  • Settings: theme (system / light / dark), default name, wake lock, haptics, export/import JSON, clear data
  • About: SiloCityLabs, GitHub, stamped build number
  • Installable offline PWA with app icons
  • Responsive phone / tablet / desktop

Deploy

Hosted on Cloudflare Pages (connected to this GitHub repo).

make build runs scripts/build-site.sh: stamps __BUILD_HASH__ from the commit SHA and writes _site/.

Local preview

make build
python3 -m http.server 8080 --directory _site

Or from the repo root (unstamped __BUILD_HASH__ is fine for quick UI work):

python3 -m http.server 8080

Open http://localhost:8080 — prefer http(s), not file://, so the service worker and install prompt work.

Tests

npm install
npm test
npm run test:coverage

Agent notes

See AGENTS.md for architecture and deploy checklist.

License

CC BY-SA 4.0

About

PWA yahtzee app

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages