Skip to content

matrixchan/RandomMaze

 
 

Repository files navigation

RandomMaze

generation a random maze, writtern by pygame

Algorithm: DFS, Random Kruscal

Find the shortest path: use BFS

random maze

shortest path

dependence

  • pygame

  • python 2.x

##Usage

python main.py [OPTION]:
    -d --dfs: use dfs algorithm to generate the maze(default option)
    -k --kruscal: use kruscal algorithm to generate the maze

press F5, regenerate the maze

About

generation a random maze, writtern by pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published