Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Dinghy Race: the playable page and its place in the catalogue, on the rules already in `dinghy-race/dinghy.js` #110
Sign in to join this conversation.
A new game in the house style, mounted like the other forged games, built on the tested rules in
dinghy-race/dinghy.js. This is the second half of #92.Done looks like:
dinghy-race/index.htmldraws the game and drives it only throughdinghy-race/dinghy.js; it adds no game rule of its own. Dragging along the sheet trims the sail (Up and Down trim in and out). Ambient motion only in the water ripples and the start-line flags. The HUD and end line show what the rules state reports, with the win and loss lines the rules name.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#mutebutton and no.mp3committed.GAMESinshell.jsas{ id: 'dinghy-race', title: 'Dinghy Race', blurb: 'Drag to trim the sail to the wind and round three buoys ahead of the fleet', kind: 'Racing', input: 'Drag', accent: '#2e8a7a', music: false, forged: true }, with the matching<li>in the rootindex.html(samedata-kind,data-input,--accentand tags line;serve.test.mjschecks they match), in the README Games table and the README list of games without music.bun scripts/og.mjshas been run soog/dinghy-race.pngand its share tags exist.rounds.mjshas a scripted round fordinghy-racethat reaches the end line;serve.test.mjsasserts/dinghy-race/and/dinghy-race/dinghy.jsanswer 200;playtest.test.mjspasses for the folder (played differs from untouched in picture and HUD, by pointer and by keyboard alone), andbun testpasses.Files:
dinghy-race/index.html,shell.js,index.html,README.md,serve.test.mjs,rounds.mjs,og/. Risk: one-line conflicts with the other new-game pulls inshell.js,index.htmland 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.