The Dominoes Display app (app/dominoes) recreates a double-six draw dominoes table for RCWeb. The shared screen owns the game state, renders the board and boneyard, and lets players join by scanning into the companion phone controller.
dominoes-control with the current room preselected.Open dominoes on a shared screen such as a TV, projector, or laptop. Players join by scanning the QR code shown on the display, which opens the dominoes-control companion app on their phone. The game supports 2 – 12 players and starts when any player taps Start once at least two players are connected. A standard double-six set (28 tiles) is used for up to 4 players; for larger tables extra sets are shuffled in automatically.
Each player is dealt 7 tiles. The player holding the highest double (e.g. 6-6) opens the round by placing it on the board. If no double was dealt, the player with the highest-scoring tile opens instead. That opening tile must be played first before any other moves.
Play proceeds clockwise. On your turn you may:
If every seated player passes in a row (no one can play and the boneyard is empty), the round is blocked. The player with the lowest pip total in hand wins. Their score is the difference between the total pips in all opponents' hands and their own.
When a player plays their last tile they win the round and score the total pip value of every tile remaining in all opponents' hands. Each tile's pip value is the sum of its two sides (e.g. a 5-3 tile is worth 8 points).
The first player to reach 100 points across multiple rounds wins the match. After a round ends, a new round is automatically dealt after a short countdown. After a match is won, scores reset and a fresh game begins.
script.js builds and shuffles the needed domino sets, deals hands, resolves plays, scores rounds, and broadcasts snapshots.domino-renderer.js renders the same SVG dominoes for both the table and the phone controllers.