Skip to content

Four rooms

MiniGrid's FourRooms environment - four quadrants joined by narrow doorways.

See the environment class in this module for the task, layout and reward/termination details.

Bases: Environment

Navix-FourRooms-*. The classic four-rooms layout: a cross of interior walls divides the room into quadrants, each connected to its neighbours by a one-cell doorway at a randomised position. Player and goal are placed at random free cells (any two rooms). Default reward/termination; the difficulty is the long, gap-constrained path between quadrants.