WFC EnvironmentsΒΆ

The environments listed below are implemented in the minigrid/envs/wfc directory. Instead of laying out a level from fixed rules, each one generates it with the Wave Function Collapse algorithm - adapted from the Python implementation by Isaac Karth - which samples a new grid that is locally similar to a small example image, so every reset() gives a different level of the same character. The mission is always to traverse the level to the goal; what changes between the environments is the pattern they sample from, one per preset, giving mazes, dungeons, rooms and scattered obstacles. These environments need the optional dependencies, installed with pip install minigrid[wfc].