Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Milk Churns: the playable page and its place in the catalogue, on the rules in `milk-churns/churns.js` #356
Sign in to join this conversation.
Make the landed Milk Churns rules playable and listed, in the same shape as
pumpkin-patch/andvillage-darts/. Starts once #332 has landedmilk-churns/churns.js.Done looks like:
milk-churns/index.htmldraws a dairy with three churns of different sizes, each showing how much milk it holds against its size. Tap one churn then another, or pick with the arrow keys and Enter, to pour; U undoes where the rules allow and R restarts. It drives the game only through the export ofchurns.jsand adds no game rule of its own. The HUD shows level, pours and par from the rules state, and every pour, refusal and win 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. The chosen churn differs from the others by shape as well as colour (its lid lifts). 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 idmilk-churns, titleMilk Churns, 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 formilk-churnsthat reaches the win line,serve.test.mjsasserts/milk-churns/and/milk-churns/churns.jsanswer 200, amilk-churns/page.test.mjsstays inside the per-game test budget the suite already holds to, andbun testpasses.bun scripts/design-lint.tspasses.Files:
milk-churns/index.html,milk-churns/page.test.mjs,shell.js,index.html,README.md,rounds.mjs,serve.test.mjs,og/. Risk:shell.js,index.html,README.mdandserve.test.mjsare shared with every other page pull; rebase before pushing. Fits: a builder.