Islanders-Game / Islanders

A clone of the popular "Settlers of Catan", written in Typescript.
Other
4 stars 0 forks source link

Map generation does not follow IRL game rules #1214

Closed andersfischernielsen closed 3 years ago

andersfischernielsen commented 3 years ago

When random-generating a map we currently generate tiles based on probability. This is incorrect if we look at the real-world game and can lead to maps having only wool-tiles as an example.

A verifier should be implemented for generated islands which checks whether the same number of tiles found in the real game are present on the generated island. This is harder to do for larger/smaller islands than the base game, though.