Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Beach Huts: the playable page and its place in the catalogue, on the rules in `beach-huts/row.js` #367
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Make the landed Beach Huts rules playable and listed, in the same shape as
apple-bobbing/andtide-crossing/.Done looks like:
beach-huts/index.htmldraws a seaside row of huts on a promenade, with locked huts marked as locked by shape (a padlock on the door), not only colour, and the tins of each colour with how many are left. Tap a hut then a tin, or pick with the arrow keys and 1-4, to paint; U undoes and R restarts. Huts inclashes(state)are flagged by an outline and an icon. It drives the game only through the export ofrow.jsand adds no game rule of its own. The HUD shows level, strokes and par from the rules state, and every stroke, refusal (with its reason) and the end line is announced through an aria-live region.engine.js, fixed 30-degree camera, hard shadows screen-right, ambient motion held still underprefers-reduced-motion. Colours stay distinguishable without colour vision (each paint has a pattern or letter). The canvas aria-label says how to play, the rules popup is at most four lines, there is a#mutebutton and no.mp3is committed.GAMESinshell.jswith idbeach-huts, titleBeach Huts, kindPuzzle, inputTap,music: falseandforged: true; the matching<li>in the rootindex.html; in the README Games table and the list of games without music;bun scripts/og.mjshas been run.rounds.mjshas a scripted round forbeach-hutsthat reaches the win line (Row painted: … strokes against par …),serve.test.mjsasserts/beach-huts/and/beach-huts/row.jsanswer 200, abeach-huts/page.test.mjsstays inside the per-game test budget the suite already holds to,playtest.test.mjspasses for the folder, andbun testpasses.bun scripts/design-lint.tspasses.Files:
beach-huts/index.html,beach-huts/page.test.mjs,shell.js,index.html,README.md,rounds.mjs,serve.test.mjs,og/. Risk:shell.js,index.html,README.md,rounds.mjsandserve.test.mjsare shared with every other page pull; rebase before pushing. Do not changerow.jsor its test. Fits: a builder.