Preview of catan-advisorOpen martha889.github.io

martha889.github.io/catan-advisor

catan-advisor

A Catan strategy advisor that uses a rule-based bot and 20,000 self-play games to measure what wins. Includes a Monte Carlo lookahead, simulator, and in-browser advisor for ranking starting spots.

Visit project

Show me a random project

First shared
Oct 7, 2026
HN activity
10

Show HN@sarthak889Oct 7, 2026

Show HN: I had a Catan bot play itself 20k times to measure what wins

I wanted to know what actually wins at Catan, so I wrote a rule-based bot, had it play itself 20,000 times (1v1 to 15 points), and tested strategy ideas head to head: each change played thousands of games against the version before it. Some results: - Holding Longest Road and Largest Army at the end wins 99% of games; holding neither wins 2%. - Each pip of opening production over your opponent is worth about 4 points of win rate. - The biggest improvement was patience: saving cards for the next city instead of spending them on roads and dev cards (62% vs. the original strategy). - Several "obvious" ideas did nothing or hurt: valuing ports highly (44.8%), an endgame mode, a deeper search. The README lists every experiment, including the rejected ones, with game counts and 95% intervals. Live demo (runs in your browser, nothing to install): https://martha889.github.io/catan-advisor/ – click "Try an example board". During setup it plays 360 whole games to rank your starting spots.

Community

Hacker News discussion

Loading the thread…