Replace the single CatanRuleSet with a set of expansions and add a scenario field; saves with the old ruleSet still decode. Setup shows a toggle per expansion and a map picker for Seafarers. Combining expansions is rejected for now (lifted in a later phase). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TWwLCrXa9aFVg8dZsCdLBZ
72 lines
4.6 KiB
Markdown
72 lines
4.6 KiB
Markdown
# Katan: Seafarers
|
|
|
|
Seafarers is an expansion switched on at setup (`CatanOptions.expansions`; the old single `ruleSet` in saves is still read) and its map is chosen beside it (`CatanOptions.scenario`). It is the base
|
|
game ([RULES-catan.md](RULES-catan.md)) with a sea, ships, a pirate, gold fields and islands to
|
|
settle. Code: `game/catan/CatanSeaRules.kt` (the additions), `CatanSeaBoard.kt` (the map),
|
|
`CatanBoard.kt` (`Topology`, the geometry shared by every map), state behind `CatanState.sea`
|
|
(null in the other rule sets). It cannot yet be combined with Cities & Knights; the setup screen switches one off when the other is turned on.
|
|
|
|
Where the published rules leave room, or where this game differs, it says so below.
|
|
|
|
## The map
|
|
|
|
One map, *Heading for New Shores*: a large **home island** (21 hexes, one desert) and three small
|
|
islands (3, 3 and 2 hexes) across the water, inside a ring of sea. Which land hexes are gold, which
|
|
are the desert and where the sea lies is fixed; the **resources on the other hexes, the number tokens
|
|
and the nine harbours are shuffled** for each game. The red numbers (6, 8) are never on neighbouring
|
|
hexes. Players take three or four seats; the default target is **12 points** (menu: 8, 10, 12, 14).
|
|
|
|
The geometry is the same lattice as the base island, generalised (`Topology`): a hex is land or sea,
|
|
a crossing can hold a town if any hex touching it is land, an edge can hold a road if any hex touching
|
|
it is land and a ship if any hex touching it is sea (so a coastal edge takes either, never both).
|
|
|
|
## What changes
|
|
|
|
**Setup.** Both starting settlements (and their roads) go on the home island. A starting piece is a
|
|
road, never a ship. The second settlement collects from the hexes round it as usual (gold pays nothing
|
|
at setup).
|
|
|
|
**Ships.** A ship costs 1 lumber and 1 wool and lies on a sea edge.
|
|
|
|
* It must join your fleet or a town of yours: one end of the edge touches your town, or another of your ships.
|
|
An opponent's town is a wall.
|
|
* Roads and ships connect **only at a town of your own**: a road cannot start from a ship's end, nor a
|
|
ship from a road's, unless a settlement or city of yours stands on that crossing. A settlement may be
|
|
built at the end of a ship route exactly as at the end of a road route.
|
|
* No more than 15 ships. Road Building may lay two roads, two ships or one of each.
|
|
* **Sailing.** Once per turn you may move one ship, never one built or moved this turn, and only a ship at the
|
|
**open end** of a route (one end touches nothing else of yours). It goes to any edge it could be built on
|
|
with it lifted off.
|
|
|
|
**The pirate.** Starts in the open sea. On a seven (and with a Knight card) the player moves either the
|
|
robber, to any land hex, or the pirate, to any sea hex. The robber works as before. The pirate **blocks the six
|
|
edges round its hex**: no ship may be built or sail onto them (ships already there stay). It robs one card
|
|
at random from a player with a ship on an edge of its hex.
|
|
|
|
**Gold.** A gold field has a number like any hex. When it comes up, each town beside it (one card; a city two)
|
|
pays its owner **any resource of their choice**, chosen after the ordinary production is dealt, in seat order from
|
|
the roller. The robber blocks a gold field like any hex. If the bank cannot supply the choice it is limited to
|
|
what it holds.
|
|
|
|
**New islands.** The first player to settle on each island other than the home island scores **2 bonus points**,
|
|
permanently (`SeaState.islandBonus`). A second settlement there earns nothing extra.
|
|
|
|
**Longest route.** Longest Road counts roads and ships together, as a path of your pieces that never runs
|
|
through an opponent's town and changes between road and ship only at a town of yours. Five or more, as before.
|
|
|
|
Everything else (development cards, trading, harbours, Largest Army, the discard on a seven) is the base game.
|
|
|
|
## Not included
|
|
|
|
The physical expansion has more scenarios and the Catan Universe app adds more still. These are **out of scope here**:
|
|
fog islands, treasure islands, the oasis, the great canal, the Explorers & Pirates and Cities & Knights combinations,
|
|
the scenarios after the first, and trade ships. The `SeaScenario` enum and `SeaBoards` are built so a second map
|
|
is a new text map and a new enum entry.
|
|
|
|
## How the AI plays it
|
|
|
|
It settles first and sails second. A ship is built when a settlement spot reachable by sea (up to five steps from its
|
|
open end) is worth having, with a bonus for an island nobody has landed on, and ahead of a development card when that
|
|
bonus is in play. It chooses the resource it values most from gold, always moves the robber (never the pirate) and does
|
|
not sail ships it has already launched. See `CatanAi.shipValue`.
|