A new table plays Tablut unless the host chooses Copenhagen
The declared default on the rules option is now Tablut, listed first, and the engine plays it when no rules are given, so the hall's still, the preferences' table default and a bare createGame agree. Tests that read Copenhagen positions ask for Copenhagen; the Tablut layout test pins the default. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GwFKMuQnPAEHJ5yA1q4orh
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
32152c05f0
commit
e95a090ac0
@@ -1,9 +1,9 @@
|
||||
# Hnefatafl
|
||||
|
||||
The Viking board game, in the browser: the attackers must take the king, the
|
||||
king must reach a corner. Copenhagen rules on the eleven-by-eleven board by
|
||||
default; Tablut, the nine-by-nine game Linnaeus wrote down in 1732, as an
|
||||
option, on a board that shows its age.
|
||||
king must reach the edge. Tablut, the nine-by-nine game Linnaeus wrote down in
|
||||
1732, by default, on a board that shows its age; Copenhagen rules on the
|
||||
eleven-by-eleven board, where the king needs a corner, as an option.
|
||||
|
||||
Built on the game kit: `src/lib/game/` is the game (rules as data in
|
||||
`rules.ts`, the board's mechanics in `board.ts`, the engine in `index.ts`,
|
||||
|
||||
Reference in New Issue
Block a user