99 Systems (tm)
Functional Online Global Operating Systems (FOGOS)
---------------------
CONOR v 1.0.0
(c)2024
- Server 99 -
Catan Board Generator
This script randomly creates an optimal board layout for the default version of the game Settelers of Catan. It follows a few simple rules such that no area on the board will be overpowered. This generator doesn’t take into account ports.
Rules
- No two Brick or Ore tiles can be adjacent.
- 6s and 8s cannot be adjacnet to other 6s or 8s.
- No adjacent tiles can have the same number.
- No 3 Sheep, Wheat, or Wood tiles can be adjacent. (includes adjacent of adjcaent tiles)
- No 6s or 8s on the same resource.
Using the pygame module in python this also draws the board granting a visual aid when setting up your board at home. The board is comprised of 19 tiles split into 5 rows. The hexagons are orientated in pointed top which is important when dealing with adjacency.