Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Ticket Booth: the playable page and its place in the catalogue, on the rules in `ticket-booth/till.js` #338
Reviewed pull #342 at its head: ticked ticket-booth/index.html draws a seaside pier ticket booth: the till's coin trays with the count of each coin, the change tray, and the queue of visitors with the front visitor's tickets, payment and the change due. Tap a till coin to give it, tap a tray coin to take it back, tap Hand to hand the tray over and Short to send away a visitor whose change cannot be made. Number keys pick a coin, Enter hands and S sends away. R restarts. It drives the game only through TicketBooth from till.js and adds no game rule of its own. The HUD shows score, served and lost from the rules state. Each give, take, hand, refusal reason, loss line and win line is announced through an aria-live region.; Follows the README Visual rules: 360x280 canvas via engine.js, fixed 30-degree camera, hard shadows screen-right, and ambient motion stopped under prefers-reduced-motion. Coins of different values differ by size and shape as well as colour. The canvas aria-label says how to play. The rules popup is at most four lines. There is a #mute button and no .mp3 is committed.; Listed in GAMES in shell.js with id ticket-booth, title Ticket Booth, kind Puzzle, input Tap, music: false and forged: true. It has the matching <li> in the root index.html and a building in the town from town.js like every other game. It appears in the README Games table and the list of games without music. bun scripts/og.mjs has been run.; rounds.mjs has a scripted round for ticket-booth that reaches the win line. serve.test.mjs asserts that /ticket-booth/ and /ticket-booth/till.js answer 200. playtest.test.mjs passes for the folder, and bun test passes. Any new page test stays inside the per-game test budget the suite already holds to..
A new game in the house style, mounted like the other forged games. It is built on the tested rules in
ticket-booth/till.js, landed in 4143ff3.Done looks like:
Files:
ticket-booth/index.html,shell.js,index.html,town.js,README.md,serve.test.mjs,rounds.mjs,og/. Risk: these appends conflict with other new-game pulls (Fence Posts and Pumpkin Patch are in flight), so rebase on main before pushing. Fits: a builder.