mazesΒΆ
The mazes subpackage describes the place a game is played in.
It contains the graph structure a maze is built upon, the base class of all mazes, the mazes you describe yourself, and the ones PyRat generates at random.
The base class of all mazes, with the methods shared by every maze.
The graph structure a maze is built upon, useful when you write your own path-finding code.
A maze described explicitly by a dictionary, for instance one produced by the Maze Builder.
A maze described by an adjacency matrix, handy when you generate mazes with numpy or torch.
The base class of the randomly generated mazes.
A random maze whose holes are spread uniformly.
A random maze whose holes are grouped into large areas.
A random maze whose holes are pushed towards the sides.