Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 595 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 595 Bytes

Carcassonne Board Generator

Example of run

This program uses the Wave Function Collapse algorithm to generate random, legal boards for the game Carcassonne.

Since this is in Python, the best performance comes from an array implementation (it seems pointers are more common), using numpy. Rendering is done with PyGame, which uses SDL.

Running

wfc <N> <M>

You can specify the $(N, M)$ dimensions of the board via the CLI.