Pero Grubač

Yamb Table

Multiplayer scoresheet for Yamb, Yahtzee and Yatzy.

Yamb Table: the dice roller with five dice and a suggested move above a player's scoresheet with the down, up, free and announce columns

What it does

One phone goes around the table, for 2 to 12 players. A hand-over screen says whose turn it is, the player fills in their sheet by hand or from the built-in dice roller, and anyone can open the other sheets read-only.

In Yamb, the Balkan four-column game, the app enforces the column rules: down from the top, up from the bottom, free in any order, and najava, where a player announces a category before rolling and gets 0 there if they don’t fill it. Before a game, two house rules can be chosen: how a straight scores and how the MAX/MIN bonus is counted. The dice roller offers up to eight ranked suggestions that fill a cell in one tap, and the straight’s value follows the chosen rule and the roll number.

The game is saved after every move, and the last 10 moves can be undone, even after a reload. The app installs as a PWA and works offline.

Decisions and why

  • The rules live in one pure module that knows nothing about React, which is what makes the column rules, totals and suggestions testable.
  • Sheets are copied, never changed in place, so a rejected turn leaves the sheet exactly as it was.
  • Undo stores snapshots, not inverse operations. Each finished turn pushes the previous sheets and turn onto a 10-item history that persists with the game and can’t drift out of sync.
  • The fonts are in the repository, so the service worker precaches everything and the first offline start looks the same as online.

Testing and deployment

21 unit tests cover scoring, house rules, column rules, turns, undo and the dice suggestions, and 5 Playwright tests run on desktop and mobile. Only a green CI run on main is deployed to GitHub Pages.

HomepageAboutsectionSystemssectionIndex of projectssectionBrowser appspageContactsectionIncident Alertsystem · case studyeMobilityHubsystem · case studyChat Roomsystem · case studyOnline Library Systemsystem · case studyRepoHealthlive app · case studyOpen RepoHealth app (opens in a new tab)live appGitHub Discord Bottool · case studyBookstore APIweb project · case studyFitForgemobile app · case studyAssetManagermobile app · case studyStore Managementdesktop app · case studyETF Oglasimobile app · case studyDevKitlive app · case studyOpen DevKit app (opens in a new tab)live appDev Timelinelive app · case studyOpen Dev Timeline app (opens in a new tab)live appGitHub Dashboardlive app · case studyOpen GitHub Dashboard app (opens in a new tab)live appStore Chain Managementdesktop app · case studySecure Repositorytool · case studyMinimal Blogweb project · case studyCatan Map Generatorlive app · case studyOpen Catan Map Generator app (opens in a new tab)live appMonte Carlo π · Pythonlive app · case studyOpen Monte Carlo π · Python app (opens in a new tab)live appBrick Breakerlive app · case studyOpen Brick Breaker app (opens in a new tab)live appArcane Keeplive app · case studyOpen Arcane Keep app (opens in a new tab)live appe-Mobility Rentaldesktop app · case studyCountdownlive app · case studyOpen Countdown app (opens in a new tab)live appANOVAdesktop app · case studyEcho Playerdesktop app · case studyMonte Carlo πdesktop app · case studyexcuse.exelive app · case studyOpen excuse.exe app (opens in a new tab)live appYamb Tablelive app · case studyOpen Yamb Table app (opens in a new tab)live appSedmicalive app · case studyOpen Sedmica app (opens in a new tab)live appLora Score Tablelive app · case studyOpen Lora Score Table app (opens in a new tab)live appSnake (Blavor)desktop app · case study
Copy emailpero.grubac00@gmail.com