PCG Tool (WFC Generator)
This project was made for my 'Game Mechanics Programming' module in level 6.
This project uses the Wave Function Collapse algorithm to procedurally generate a set of tiles according to user input rules.
It can generate a square/rectangular area of tiles of up to high numbers and is only limited by the device's processing power due to it being programmed in C++. Here is an example of a generation: The rules state that the tiles are ordered stone > grass > sand > water, and can only connect to itself or the tile type adjacent to it in the list.
Here is an example of a huge generation: