Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Add Village Draughts: the playable page and its place in the catalogue, on the rules in `village-draughts/board.js` #299
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
village-draughts/board.js.Done looks like:
village-draughts/index.htmldraws the chalked board on a trestle table in the village hall, with the pieces and the opponent's hands. Tap a piece and then its landing square, or move a cursor with the arrow keys and pick with Space; the legal landings of the chosen piece are marked. It drives the game only throughvillage-draughts/board.jsand adds no game rule of its own. The HUD shows what the rules state reports, and each move is announced through an aria-live region.prefers-reduced-motion. The two sides differ by a ring cut into the pieces as well as colour, and kings carry a crown mark, not only a tint. 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: 'village-draughts', title: 'Village Draughts', blurb: 'Jump, chain and crown your way past the hall\'s draughts champion', kind: 'Strategy', input: 'Tap', accent: '#4a6b8a', 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 forvillage-draughtsthat reaches the end line.serve.test.mjsasserts that/village-draughts/and/village-draughts/board.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:
village-draughts/index.html,shell.js,index.html,town.jsif buildings are listed there,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.The rules are on main in 3669652 (
village-draughts/board.js): read its header for the callsstart,moves,moveandreply. #292 adds only tests to that folder and does not block this page. This replaces #279, which was parked only because the rules issue it waited on was split. Nothing stands in front of it.