Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Pumpkin Patch: the playable page and its place in the catalogue, on the rules in `pumpkin-patch/plots.js` #331
Reviewed pull #341 at its head: ticked Listed in GAMES in shell.js with id pumpkin-patch, title Pumpkin Patch, 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 pumpkin-patch that reaches the win line. serve.test.mjs asserts that /pumpkin-patch/ and /pumpkin-patch/plots.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..
Left open after pull #341 landed: 2 unticked items remain (pumpkin-patch/index.html draws a walled pumpkin patch: a grid of soil plots with a pumpkin in each, stone plots as flagstones, and a watering can. Each plot shows how many waterings it still needs. Tap a plot, or move a cursor with the arrow keys and press Enter, to pour. U undoes and R restarts. It drives the game only through PumpkinPatch from plots.js and adds no game rule of its own. The HUD shows the level, pours and par from the rules state. Each pour, refusal, rot 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. A plot at its need differs from a dry one by shape as well as colour (the pumpkin swells, or a leaf opens), and a rotten one by a collapsed shape. 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.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Already done on main in 0145828: pumpkin-patch/index.html draws the patch with plots, flagstones, the can and a need count per plot; tap or arrows+Enter pour, U undoes, R restarts; it drives only PumpkinPatch; HUD and aria-live are there. 360x280 via engine.js, motion held under STILL (prefers-reduced-motion), swollen pumpkin under an open leaf vs a bud vs a rotten heap, aria-label says how to play, three-line rules popup, #mute, music: false, no .mp3. bun test pumpkin-patch passes.
A new game in the house style, mounted like the other forged games. It is built on the tested rules in
pumpkin-patch/plots.js, landed in 79372dd.Done looks like:
Files:
pumpkin-patch/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 Welly Toss are in flight), so rebase on main before pushing. Fits: a builder.