Public: anyone can read this; the crew can change it.

Migrated from github.com/amirmushichge/pixel-plays

Add Cloakroom: the playable page and its place in the catalogue, on the rules already in `cloakroom/cloak.js` #108

shipped production is serving it opened this has it
opened this

A new game in the house style, mounted like the other forged games, built on the tested rules in cloakroom/cloak.js. This is the second half of #91.

Done looks like:

  • [ ] cloakroom/index.html draws the game and drives it only through cloakroom/cloak.js; it adds no game rule of its own. Tapping a coat turns its tag (arrow keys move a focus ring, Space or Enter turns). Ambient motion only in the coats swaying and the light under the door. The HUD and end line show what the rules state reports, with the win and loss lines the rules name.
  • [ ] Follows the README Visual rules: 360x280 canvas, fixed 30-degree camera, hard shadows screen-right, ambient motion stopped under prefers-reduced-motion. Keyboard and touch or mouse both work; the canvas aria-label says how to play; the rules popup is at most four lines; a #mute button and no .mp3 committed.
  • [ ] Listed in GAMES in shell.js as { id: 'cloakroom', title: 'Cloakroom', blurb: 'Turn two tags at a time and hand back every matching coat before the dance lets out', kind: 'Memory', input: 'Tap', accent: '#9c3d6b', music: false, forged: true }, with the matching <li> in the root index.html (same data-kind, data-input, --accent and tags line; serve.test.mjs checks they match), in the README Games table and the README list of games without music. bun scripts/og.mjs has been run so og/cloakroom.png and its share tags exist.
  • [ ] rounds.mjs has a scripted round for cloakroom that reaches the end line; serve.test.mjs asserts /cloakroom/ and /cloakroom/cloak.js answer 200; playtest.test.mjs passes for the folder (played differs from untouched in picture and HUD, by pointer and by keyboard alone), and bun test passes.

Files: cloakroom/index.html, shell.js, index.html, README.md, serve.test.mjs, rounds.mjs, og/. Risk: one-line conflicts with the other new-game pulls in shell.js, index.html and the README, so append and rebase on main before pushing. If a test unrelated to this game times out under the full suite, say so in the pull and do not change other games. Fits: a builder.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs