Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Chimney Sweep: the playable page and its place in the catalogue, on the rules in `chimney-sweep/roofs.js` #313
Merged 29d 17h ago, live in production
Chimney Sweep now has its playable page at chimney-sweep/index.html, built on roofs.js with no rules of its own. I ran only the test files that cover the change (the page tests, serve, shell, town, and the Chimney Sweep and round-list tests in playtest.test.mjs).
-
Reviews
ApprovedStatic client-side game; no server surface. The only innerHTML (brush icons) is built from a number and fixed markup. No secrets, no dependency, no mp3. Preview serves the page, rules and card with 200. Page drives roofs.js only, tests cover pull, cooldown, flue change, hits, end and mute, and a scripted round exists. Nit, not blocking: finish(before) takes an unused parameter.
-
Checks
shipped production is serving it deploy ab54f53
-
History
- Add Chimney Sweep: the playable page and its place in the catalogue, on the rules in chimney-sweep/roofs.js 0ff4e82
- Clock Mender rules: a tested `clock-mender/gears.js` where you set gears on pegs to link the winding key to the clock hands within par, from plain data, in a two-file pull with a test file that runs in under a second (#312) 829fd74
- Chimney Sweep rules: a tested `chimney-sweep/roofs.js` where you climb a row of chimneys by brush pulls and duck the smoke puffs, from plain data, in a two-file pull with a test file that runs in under a second (#306) 2223de0
- Chestnut Roast rules: a tested `chestnut-roast/pan.js` where you catch roasted chestnuts in a paper cone and dodge the burnt ones, from plain data, in a two-file pull with a test file that runs in under a second (#305) 6d0a631
- Add Tea Party: the playable page and its place in the catalogue, on the rules in `tea-party/table.js` (#302) d481920
- Village Draughts moves: `moves(state)` checked against an independent rule check across 200 seeded games in `village-draughts/board.test.mjs` (#296) c447f73
- Tea Party rules: a tested `tea-party/table.js` where guests call out their orders and you serve each one from memory as the table grows, from plain data, in a two-file pull with a test file that runs in under a second (#297) 10735e5
- Add Skipping Rope: the playable page and its place in the catalogue, on the rules in `skipping-rope/rope.js` (#295) d9f4afc
- Skipping Rope rules: a tested `skipping-rope/rope.js` where you jump the turning rope as it quickens and more skippers join, from plain data, in a two-file pull with a test file that runs in under a second (#291) 3349b83
- Village Draughts rules: a tested `village-draughts/board.js` with forced captures, multi-jumps, crowning and a seeded computer opponent, from plain data, in a two-file pull with a test file that runs in under a second (#289) 3669652
- Duck Race stream: every seed lays rocks, eddies and fast water inside the stream, checked across seeds in `duck-race/stream.test.mjs` (#290) 5b72aef
- Add Library Shelf: the playable page and its place in the catalogue, on the rules in `library-shelf/shelf.js` (#285) 9c36ff9
- Add Jam Jars: the playable page and its place in the catalogue, on the rules in `jam-jars/shelf.js` (#284) 5a6842f
- Add Conkers: the playable page and its place in the catalogue, on the rules in `conkers/match.js` (#283) fe42c30
- Add Stained Glass: the playable page and its place in the catalogue, on the rules in `stained-glass/window.js` (#282) edb3750
- Library Shelf rules: a tested `library-shelf/shelf.js` where you slide books along their runners to clear a gap for the returned book, within par slides, from plain data, in a two-file pull with a test file that runs in under a second (#281) b5354e4
- Add Rock Pool: the playable page and its place in the catalogue, on the rules in `rock-pool/pool.js` (#253) dca7485
- Stained Glass rules: a tested `stained-glass/window.js` where you colour leaded panes so no two neighbours match, within par strokes, from plain data, in a two-file pull with a test file that runs in under a second (#273) d0e141d
- Conkers rules: a tested `conkers/match.js` where you time a swing on a power meter to crack a run of rivals' conkers before yours cracks, from plain data, in a two-file pull with a test file that runs in under a second (#262) 95370c3
- Duck Race rules: a tested `duck-race/stream.js` where you steer a rubber duck across stream lanes past rocks and eddies against three rivals, from plain data, in a two-file pull with a test file that runs in under a second (#260) 366d3b1
Chimney Sweep now has its playable page at chimney-sweep/index.html, built on roofs.js with no rules of its own. I ran only the test files that cover the change (the page tests, serve, shell, town, and the Chimney Sweep and round-list tests in playtest.test.mjs). They pass, and so does the scripted round: it wins with 3 lives in about 10.6 s. I did not run the full suite or bun scripts/gate.ts, and there is no scripts/gate.ts in this clone. bun x tsc --noEmit printed only its help text and did not finish, so it gave no verdict. The branch is rebased on main.
The page
- Scene: a cut-away brick stack with four soot-black flues, a top-hatted sweep with a brush, three rooftops along the top and a weathervane. Shadows fall screen-right on the 360x280 canvas. The weathervane is the only ambient motion and stops under
prefers-reduced-motion; smoke and the sweep are play. - Smoke: lumpy, light-grey wobbling clouds that rise, against square, static, red brickwork.
- Input: tap or space pulls. The left and right arrows or a swipe change flue, one flue per swipe.
- HUD: height, flue, time, score and best, with lives drawn as brushes plus a number. Each pull, hit, flue change and refusal goes to the
aria-livestatus line, which carries the rules' ownline. - Required items: there is a
#mutebutton and no.mp3. The rules popup is four lines and the canvasaria-labelsays how to play.
Catalogue
- Entries:
GAMEShas the entry exactly as specified, with the matching<li>in the rootindex.html. The README has a Games table row, the no-music list and the ambient-motion note. - Building: nothing was added for the town building; it comes from
GAMES, as for the other games. - Share card:
bun scripts/og.mjswas run, which producedog/chimney-sweep.pngand updatedog/home.png.
Tests
- Rounds and serving:
rounds.mjshas a scripted round that looks half a second ahead with the rules' owntickand changes flue to dodge smoke.serve.test.mjsasserts/chimney-sweep/and/chimney-sweep/roofs.jsanswer 200. - Page tests:
chimney-sweep/page.test.mjshas 7 tests and runs in under 2 s.
Test I edited: serve.test.mjs only allowed nine kinds, so I added Climbing to its list and to the shell.js comment. The kind itself is the issue's.
Not done: no dynamic sweep-and-smoke screenshot was reviewed, only the opening-frame share card.
🤖 Generated with Claude Code
Chimney Sweep now has its playable page at
chimney-sweep/index.html, built onroofs.jswith no rules of its own. I ran only the test files that cover the change (the page tests,serve,shell,town, and the Chimney Sweep and round-list tests inplaytest.test.mjs). They pass, and so does the scripted round: it wins with 3 lives in about 10.6 s. I did not run the full suite orbun scripts/gate.ts, and there is noscripts/gate.tsin this clone.bun x tsc --noEmitprinted only its help text and did not finish, so it gave no verdict. The branch is rebased on main.The page
prefers-reduced-motion; smoke and the sweep are play.aria-livestatus line, which carries the rules' ownline.#mutebutton and no.mp3. The rules popup is four lines and the canvasaria-labelsays how to play.Catalogue
GAMEShas the entry exactly as specified, with the matching<li>in the rootindex.html. The README has a Games table row, the no-music list and the ambient-motion note.GAMES, as for the other games.bun scripts/og.mjswas run, which producedog/chimney-sweep.pngand updatedog/home.png.Tests
rounds.mjshas a scripted round that looks half a second ahead with the rules' owntickand changes flue to dodge smoke.serve.test.mjsasserts/chimney-sweep/and/chimney-sweep/roofs.jsanswer 200.chimney-sweep/page.test.mjshas 7 tests and runs in under 2 s.Test I edited:
serve.test.mjsonly allowed nine kinds, so I addedClimbingto its list and to theshell.jscomment. Thekinditself is the issue's.Not done: no dynamic sweep-and-smoke screenshot was reviewed, only the opening-frame share card.
🤖 Generated with Claude Code
Closes #288