Settlers / Research

73 pages · Search titles and descriptions

↑ ↓ to navigate · Enter to open · Esc to closeLocal search
Play the game

How wide is a Settlers turn?

Legal actions per decision, by phase

Measured evidence
07.2514.521.7529rollmaindiscardrobberfree roadsPhaseLegal actions

Scroll the chart horizontally to inspect all values.

Builder games95% interval

Bars are medians over builder-game decisions; the interval marks the 10th to 90th percentile. The main phase lists every legal build, exchange, and card play the server enumerates.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesPhaseLegal actionsLowHigh
Builder gamesroll111
Builder gamesmain8117
Builder gamesdiscard111
Builder gamesrobber222024
Builder gamesfree roads9711.5

The engine's legal-action list is the raw width: every legal build site, every unit bank exchange, every playable card, and every robber hex paired with each victim. The search does not branch over all of it. Its candidate generator keeps builds, purchases, card plays, roads that shorten the path to a reachable site or extend a contested longest road, and exchanges that reduce a build deficit, then narrows later steps of the turn to the best few by static value.

Main-phase width through the game

Measured evidence
06121824024487296TurnLegal actions

Scroll the chart horizontally to inspect all values.

Main phase95% interval

Median legal actions in the main phase per eight-turn window, with the 10th to 90th percentile; width grows as hands and road networks grow.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesTurnLegal actionsLowHigh
Main phase4219
Main phase125112
Main phase205113
Main phase286113
Main phase367115
Main phase448115
Main phase528116
Main phase608116
Main phase689117
Main phase769119
Main phase849118
Main phase929119

What a planned turn costs

The measurement analysed every third decision with expectimax-v2 at depths 1 to 4 under a fixed 400,000-transition budget and no clock. Medians rise from 2,110 transitions and 15 ms at depth 1 to 180,066 transitions and 1.65 s at depth 4; a quarter of the depth-4 analyses hit the budget and are excluded from the medians. The ratio between consecutive depths is about six, then four, then three and a half: the opponents' round costs a fixed number of scenarios, and the transposition memo catches more as trees grow.

Native analysis time, by depth

Measured evidence
0104920993148419801.252.53.755Depth (planned own turns)Milliseconds

Scroll the chart horizontally to inspect all values.

expectimax-v2, default budgets95% interval

Median wall-clock milliseconds per analysis on one core with the 10th to 90th percentile; native release build, default scenario and sample counts.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesDepth (planned own turns)MillisecondsLowHigh
expectimax-v2, default budgets115.093.29106.1
expectimax-v2, default budgets292.0928.64379.5
expectimax-v2, default budgets3465123.21492
expectimax-v2, default budgets41654248.43816

Engine transitions per analysis, by depth

Measured evidence
09212018420027640036850001.252.53.755Depth (planned own turns)Transitions

Scroll the chart horizontally to inspect all values.

expectimax-v2, default budgets95% interval

Median transitions applied per analysis with the 10th to 90th percentile; each additional planned turn multiplies the work by the scenario count and the inner beam.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesDepth (planned own turns)TransitionsLowHigh
expectimax-v2, default budgets1211033515740
expectimax-v2, default budgets212520507949450
expectimax-v2, default budgets35040018450147800
expectimax-v2, default budgets418010040540335000
nowyour movedicenext turn487326values654average6max
Leaf values average over the dice, and the player keeps the best end-of-turn position.

Where the work goes

In a depth-4 analysis the current turn is a small tree, a median of 179 own-turn nodes ending in 19 positions. Each later level starts from the positions the previous level followed through the opponents' round, so the counts multiply: a median of 709 nodes at level 2, 3,984 at level 3, and 17,251 at level 4. The share of own-turn positions already seen falls from 21% at depth 1 to 5% at depth 4, because dice scenarios spread later levels over many distinct boards.

Work per search level

Measured evidence
0103202063030950412601234Search level (own turn)Count per analysis

Scroll the chart horizontally to inspect all values.

Own-turn nodes exploredEnd-of-turn positions followed95% interval

Median own-turn nodes explored and end-of-turn positions followed at each level of a depth-4 analysis, with the 10th to 90th percentile; the current turn is a small tree, later levels multiply by the scenarios that lead to them.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesSearch level (own turn)Count per analysisLowHigh
Own-turn nodes explored117939.81458
Own-turn nodes explored2708.5218.71441
Own-turn nodes explored33984845.47914
Own-turn nodes explored417250122837510
End-of-turn positions followed1191241
End-of-turn positions followed2492162.7927
End-of-turn positions followed32409551.84553
End-of-turn positions followed41016092921960

Share of own-turn positions already seen

Measured evidence
00.250.50.75101.252.53.755Depth (planned own turns)Fraction

Scroll the chart horizontally to inspect all values.

expectimax-v2

Transpositions divided by transpositions plus expanded own-turn nodes; different action orders within a turn often reach the same position.

Source: Engine-arena structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5: 64 builder games (fast, ETA, fast, ETA) on seeds 0-63; 21840 decisions after setup and 12578 sampled searches.

View data table
SeriesDepth (planned own turns)Fraction
expectimax-v210.209
expectimax-v220.123
expectimax-v230.065
expectimax-v240.048

In the browser

The same search compiled to WebAssembly runs 1.26 to 1.38 times slower than the native release build on 40 sampled main-phase positions (medians by depth in the chart), so a one-second budget in a browser worker usually completes depth 3 and always completes depth 2.

Search time by depth: native and WASM

Measured evidence
015931847763601234Depth (planned own turns)Milliseconds

Scroll the chart horizontally to inspect all values.

Native (release build)WASM in Node95% interval

Median milliseconds per analysis on 40 sampled main-phase positions with the 10th to 90th percentile; WASM to native ratio 1.26 at depth 1, 1.36 at depth 2, 1.38 at depth 3.

Source: 40 main-phase positions sampled from builder games on seeds 100 to 103 by the structure tool; each analysed once natively (release build, one core) and once in WASM under Node 26 on an otherwise idle machine; iterative deepening off, default sample and scenario counts.

View data table
SeriesDepth (planned own turns)MillisecondsLowHigh
Native (release build)162.260.9
Native (release build)234.618.6249.2
Native (release build)322690.3417
WASM in Node17.42.972
WASM in Node249.624.7264.2
WASM in Node3312.2118577.5

One decision, term by term

At turn 59 of an engine-arena game on seed 5, the corrected search at depth 3 chose to buy a development card with two wool in hand rather than extend a road. The bars show each candidate's value as the stack of its additive leaf terms; the point term dominates because a fifth of the deck is a victory card and the game is close.

One decision at depth 3: buy the card that might be the winning point

Red player · turn 59 · Build and trade · expectimax-v2

Measured evidence
Grain8Grain, rolls 8, 5 of 36 dice outcomesGrain4Grain, rolls 4, 3 of 36 dice outcomesLumber11Lumber, rolls 11, 2 of 36 dice outcomesOre10Ore, rolls 10, 3 of 36 dice outcomesWool3Wool, rolls 3, 2 of 36 dice outcomesWool6Wool, rolls 6, 5 of 36 dice outcomes, blocked by the robberOre12Ore, rolls 12, 1 of 36 dice outcomesGrain5Grain, rolls 5, 4 of 36 dice outcomesBrick9Brick, rolls 9, 4 of 36 dice outcomesLumber11Lumber, rolls 11, 2 of 36 dice outcomesWool5Wool, rolls 5, 4 of 36 dice outcomesGrain9Grain, rolls 9, 4 of 36 dice outcomesWool2Wool, rolls 2, 1 of 36 dice outcomesLumber4Lumber, rolls 4, 3 of 36 dice outcomesDesertDesertBrick10Brick, rolls 10, 3 of 36 dice outcomesOre6Ore, rolls 6, 5 of 36 dice outcomesLumber3Lumber, rolls 3, 2 of 36 dice outcomesBrick8Brick, rolls 8, 5 of 36 dice outcomes2:1Ore 2:1 port2:1Lumber 2:1 port2:1Wool 2:1 port3:1Any resource 3:1 port2:1Brick 2:1 port3:1Any resource 3:1 port3:1Any resource 3:1 port3:1Any resource 3:1 port2:1Grain 2:1 portBlue player roadOrange player roadOrange player roadBrown player roadRed player roadBrown player roadBrown player roadRed player roadRed player roadOrange player roadBlue player roadRed player roadBlue player roadBlue player roadRed player roadBrown player roadBrown player roadBlue player settlementOrange player cityBrown player settlementRed player settlementBrown player cityRed player cityOrange player cityBlue player cityRed player settlementBrown player cityBrown player settlement
Hand1Brick1Lumber2Wool1Grain1Ore

5 candidates

0buy development3563road on edge 252927road on edge 582903road on edge 342671end turn2358

Scroll the chart horizontally to inspect all candidates.

developmentdiversityexpansionhandhand_riskopponent_productionopponent_progressplanpointsportsproductionroadterminalvaluechosen
Depth
3
Time
142.9 ms
Level 1
29 nodes · 10 afterstates
Level 2
494 nodes · 364 afterstates
Level 3
3092 nodes · 1712 afterstates
Totals
33961 transitions · 20596 leaves · 1588 scenarios · 136 transpositions

Candidate values at turn 59 of an engine-arena game on seed 5 with each leaf term stacked; the search chose the development card over building a road first.

Source: Traced engine-arena game, seed 5, corrected expectimax-v2 at depth 3 with a 1.5 s budget against ETA, fast, ETA; values are mass-weighted heuristic points from the search report.

View data table
CandidateValueChosendevelopmentdiversityexpansionhandhand_riskopponent_productionopponent_progressplanpointsportsproductionroadterminal
buy development3563Yes21.6826.7825.558.24-4.11-90.59-339.547.47897.5097.9814.642808
road on edge 252927No19.6629.2825.0861.16-3.39-94.13-34350.04891.70105.816.092169
road on edge 582903No19.4729.8627.5563.97-4.49-94.13-34353.24891.50108.116.192135
road on edge 342671No20.2830.2224.5170.85-7.15-94.13-34354.67879.10.25105.816.321913
end turn2358No21.1832.0227.8964.96-5.25-92.8-343.157.93846.70120.720.051608
Agent notes

Structure run fcd6c0c1-af77-4d2f-b43d-5c598f8d5ff5 under the log/tree-structure study: analysis/structure.py --seeds 0-63 --every 3 --depths 1,2,3,4 --write-assets, which runs the server's structure binary (64 fast/ETA/fast/ETA games, every third decision analysed at each depth with iterative: false, node_budget: 400000, no time budget) and derives the plot assets. Medians and 10th to 90th percentiles are over analyses; aborted analyses are excluded from the cost figures. The record in records/structure/ carries the rows digest. The decision exhibit comes from tournament --trace on seed 5 with the corrected depth-3 candidate; its values are the search's mass-weighted heuristic points. Native timings are from a 32-thread run with 8 threads reserved for the tool on an otherwise idle machine and are not a browser benchmark. Attribution: Claude Fable 5.1 (claude-fable-5-1) through Claude Code.