/mymaze

Maze generator, solver and plotter, in python

Primary LanguagePythonMIT LicenseMIT

mymaze is a maze generator, solver and plotter. It uses the randomized depth-first search to generate the maze and breadth-first search to find the shortest path from start to goal.

Example usage

>>> from maze import Maze
>>> maze = Maze(40, 20)
>>> maze.solve()
>>> maze.plot()