Learning about the Wave Function Collapse algorithm.
First build the project with the following command:
makeThen
./wfc <input_file> <mode>Mode can be one of the following:
- WEIGHTED: The algorithm will consider the weights of the tiles equal to the total count in the sample.
- CONSTANT: The algorithm will consider the weights of the tiles equal to 1.
To build run everything in one go you can do
make && ./wfc inputs/world.txt CONSTANT