# Catan Map Generator > Generates balanced Catan base-game boards (19 hexes, 4 players) from a seed, with numbers, resources and harbours tuned so no seat starts clearly ahead. A board is a pure function of one seed plus four settings, so the same URL always renders the same map. The map is drawn in the browser with JavaScript: fetching this page returns the app shell, not the board. The page has a "copy prompt" button that writes a full text description of the board (every hex with its neighbours, all 54 settlement spots with pips and neighbours, harbours, per-seat bottlenecks) ready to paste into a chat. ## Board URL `https://catan-map-generator.pages.dev/?seed=&d=&p=&r=<0|1>&e=<0|1>` - `seed`: any string, hashed by the generator. Spaces are significant. - `d`: `easy` tunes the board hardest, `normal` tunes less, `hard` is nearly random. - `p`: `fixed` keeps the harbours printed on the frame, `random` re-deals their types to match nearby resources. - `r`: `1` keeps the two 6/8 hexes from touching, `0` allows it (default `0`). - `e`: `1` keeps the 2 and 12 hexes from touching, `0` allows it (default `0`). - `share=1`: opens the board read-only, without the seed field or the setup dialog. - Omitted or invalid values fall back to `d=easy`, `p=fixed`, `r=0`, `e=0`. ## What the generator balances - Production: 58 pips spread over 5 resources as evenly as the tokens allow. - Seats: the gap between four players after the opening draft (order 1-2-3-4-4-3-2-1, distance rule always enforced). - Playstyle: each seat's bottleneck for roads (wood + brick), cards (sheep + wheat + ore) and cities (wheat + ore), so no seat is locked out of a plan. - Monopoly: a penalty when one seat holds more than 55% of a resource's production. - Harbours: 2:1 harbours should sit near their own resource. - Fixed number rules: no two touching hexes share a number. The 6/8 and 2/12 spacing rules are optional, see `r` and `e`. ## Getting the board image The board exists only after the browser draws it, so there is no image file at a fixed URL. - If you can drive a browser (Playwright, Puppeteer, computer use): open the board URL and click the button with `aria-label` "Download board image" (English) or "Tải ảnh bàn" (Vietnamese), also reachable as `.map-btn`. The page saves `catan-.png` at 1.5x the viewBox, about 2095x1824 and 3 MB. The button sits on the map, just above the full-screen zoom badge, and it also exists on `share=1` links. - If you cannot drive a browser: ask the user to open the URL, press that button and attach the PNG. Or skip the image entirely: the "copy prompt" button in the analysis card writes every hex, every settlement spot with its pips and neighbours, and the harbours, which is enough for a full analysis. ## Limits - Base game only, 4 players, 19 hexes. Expansions are not implemented. - The board is not available as a static image or JSON file; it is rendered client-side. - The code is MIT. Board artwork, the logo and the CATAN name come from third parties and are not covered by that licence. ## Files - [Font licence](https://catan-map-generator.pages.dev/licenses/OFL.txt) - [Source code](https://github.com/hiiamtrong/catan-map-generator)