Katan: base-island scenarios (First Island, The Harbormaster)
CI / Build and check (pull_request) Successful in 11m29s
CI / Deploy to Cloudflare Pages (pull_request) Skipped

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TWwLCrXa9aFVg8dZsCdLBZ
This commit is contained in:
Claude
2026-11-12 18:14:00 +00:00
parent 421cbd4c70
commit 42334c3bf8
9 changed files with 231 additions and 6 deletions
+20
View File
@@ -23,6 +23,26 @@ A table plays one of two rule sets, chosen on the setup screen
building, robber and trade rules and changes or replaces the rest; its state lives
behind `CatanState.ck`, which is `null` in the base game.
## Base-island scenarios
Without Seafarers the setup screen offers an **Island** choice (`CatanOptions.baseScenario`; it works with Cities &
Knights too). Both extras are the author's reading, not transcriptions of the printed scenarios:
- **Random map** (default) — the usual shuffled island.
- **First Island** — the same island every game: one fixed shuffle (`CatanBoard.FIRST_ISLAND_SEED`) of the standard
tiles, numbers and harbours, so a first game or a rematch has no surprise set-up. It is not the printed beginner
layout. The development deck and the seating still follow the table's own seed.
- **The Harbormaster** — the Catan Universe menu text is "Because trade becomes more and more important, harbours
have an ever increasing significance." Its card: 2 victory points to the first player with at least three harbour
points; another player with more takes it at once. What a harbour point is was not in the app's texts, so it is
inferred: a settlement on a harbour counts **1**, a city **2**, for each harbour it touches. The title is checked after
every settlement, city and set-up placement; **equal points do not take it**, only strictly more (like Longest
Road); it is **+2 victory points** to the holder (`CatanState.harbormaster`). The AI values a harbour spot a
little more here (`CatanAi.HARBOR_LURE`).
Seafarers games choose a map instead (see [RULES-catan-seafarers.md](RULES-catan-seafarers.md)); the Harbormaster does not apply there.
The app's other base scenario, Ore for Wool, is not built: its rules are not in the texts that could be read.
## Table
- **Rules — *toggle*.** Base game or Cities & Knights (`CatanOptions.ruleSet`).