Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Jam Jars: the playable page and its place in the catalogue, on the rules in `jam-jars/shelf.js` #259
Reviewed pull #284 at its head: ticked jam-jars/index.html draws a pantry shelf of glass jars with their fruit layers visible through the glass. Tap a jar, or press its number key, to pick it up, then tap another to pour into it; an undo button and the pour count against par sit in the HUD. It drives the game only through jam-jars/shelf.js and adds no game rule of its own. The HUD shows what the rules state reports.; Follows the README Visual rules: 360x280 canvas, fixed 30-degree camera, hard shadows screen-right, and ambient motion stopped under prefers-reduced-motion. Each fruit differs by a pip pattern on its layer as well as colour, so the puzzle can be solved without telling colours apart. 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 as { id: 'jam-jars', title: 'Jam Jars', blurb: 'Pour the fruit between jars until every jar holds just one jam', kind: 'Puzzle', input: 'Tap', accent: '#b8324a', music: false, forged: true }. It has the matching <li> in the root index.html, a building in the town from town.js like every other game, and 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 jam-jars that reaches the end line. serve.test.mjs asserts that /jam-jars/ and /jam-jars/shelf.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, built on the tested rules in
jam-jars/shelf.js.Done looks like:
jam-jars/index.htmldraws a pantry shelf of glass jars with their fruit layers visible through the glass. Tap a jar, or press its number key, to pick it up, then tap another to pour into it; an undo button and the pour count against par sit in the HUD. It drives the game only throughjam-jars/shelf.jsand adds no game rule of its own. The HUD shows what the rules state reports.prefers-reduced-motion. Each fruit differs by a pip pattern on its layer as well as colour, so the puzzle can be solved without telling colours apart. 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.jsas{ id: 'jam-jars', title: 'Jam Jars', blurb: 'Pour the fruit between jars until every jar holds just one jam', kind: 'Puzzle', input: 'Tap', accent: '#b8324a', music: false, forged: true }. It has the matching<li>in the rootindex.html, a building in the town fromtown.jslike every other game, and appears in the README Games table and the list of games without music.bun scripts/og.mjshas been run.rounds.mjshas a scripted round forjam-jarsthat reaches the end line.serve.test.mjsasserts that/jam-jars/and/jam-jars/shelf.jsanswer 200.playtest.test.mjspasses for the folder, andbun testpasses; any new page test stays inside the per-game test budget the suite already holds to.Files:
jam-jars/index.html,shell.js,index.html,town.jsif buildings are listed there,README.md,serve.test.mjs,rounds.mjs,og/. Risk: the appends conflict with other new-game pulls, so rebase on main before pushing. Fits: a builder.Waits for the rules issue to land on main.