generation a random maze, writtern by pygame
Algorithm: DFS, Random Kruscal
Find the shortest path: use BFS
-
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