Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Sandcastle Tide: the playable page and its place in the catalogue, on the rules in `sandcastle/tide.js` #149
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
sandcastle/tide.js.Done looks like:
sandcastle/index.htmldraws the beach grid, the rocks, the castle and the sea edge, and drives it only throughsandcastle/tide.js; it adds no game rule of its own. Tap a sand square to build a wall, or move a cursor with the arrow keys and press Space; a Tide button (or Enter) calls the tide in. Input is ignored while the water spreads. Ambient motion only in the surf line rippling. The HUD shows what the rules state reports.prefers-reduced-motion. Wet, dry, wall and rock squares differ by texture as well as colour. 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: 'sandcastle', title: 'Sandcastle Tide', blurb: 'Pat down sand walls between tides and keep the castle dry through five high waters', kind: 'Strategy', input: 'Tap', accent: '#d8b25a', 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 forsandcastlethat reaches the end line.serve.test.mjsasserts that/sandcastle/and/sandcastle/tide.jsanswer 200.playtest.test.mjspasses for the folder, andbun testpasses.Files:
sandcastle/index.html,shell.js,index.html,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.