Skip to content

Ensure Red Number Tokens are not next to each other #344

@bcollazo

Description

@bcollazo

Per the rule book, red numbers (6s and 8s) must not be next to each other.

Catanatron strives to be a "purist" of the game in the sense that it should try to follow the rules as closely as possible.

This issue calls to revisit the implementation of the board creation to implement the same algorithm described in the Catan Almanac (attached).

Unfortunately, this might change the how the random number generator is used and there are some tests that depended on this to study some specific boards (see tests that do random.seed(123)). It is ok, to update these tests so that they still test what they are trying to test.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions