Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Sack Race: the playable page and its place in the catalogue, on the rules in `sack-race/course.js` #308
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
A new game in the house style, mounted like the other forged games and built on the tested rules in
sack-race/course.js.Done looks like:
sack-race/index.htmldraws a grass lane with bunting and four hopping sacks, the finish tape, and a small landing marker that shows the hop window closing. Space, tap or click hops. The HUD shows the distance left and the current place. The page drives the game only throughsack-race/course.jsand adds no game rule of its own; each event the rules report is announced through an aria-live region.prefers-reduced-motion. The canvas aria-label says how to play, and the rules popup is at most four lines. There is a#mutebutton, and no.mp3is committed.GAMESinshell.jslists it as{ id: 'sack-race', title: 'Sack Race', blurb: 'Hop in time with your landing and beat three rivals to the tape', kind: 'Racing', input: 'Tap', accent: '#c2703d', music: false, forged: true }. It has the matching<li>in the rootindex.html, a place in the README Games table and the list of games without music, and its town building from theGAMESentry.bun scripts/og.mjshas been run.rounds.mjshas a scripted round forsack-racethat reaches the end line.serve.test.mjsasserts that/sack-race/and/sack-race/course.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:
sack-race/index.html,shell.js,index.html,README.md,serve.test.mjs,rounds.mjs,og/. Risk: these 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.