Skip to content
/ ndmaze Public

Package for generating and traversing mazes of 2 to n dimensions.

License

Notifications You must be signed in to change notification settings

ben-bay/ndmaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndmazes

Python tool for generating mazes of 2 to n dimensions!

To make a 7x7x7 3-dimensional maze with a randomized Prim's algorithm: ndmaze make -e -i prim 7 7 7

Supported probabalistic maze algorithms

• Prim

###################	######S#########F##
F...#...........#.#	#........#...#.#..#
#.###.#.#.###.#.#.#	######.#####.#.#.##
#...#.#.#.#...#.#.S	#....#.....#.#....#
#.###.#########.#.#	##.###.#####.#.####
#.............#...#	#........#.....#..#
#.#.###########.#.#	##.###.###.#####.##
#.#...........#.#.#	#..#..............#
###################	###################

• Kruskal

• Density islands

###################	###################
S.#.#.............#	#.................#
#.#.#.#######.###.#	#.###.#######.###.#
#.#...#.......#.#.#	#.#...#.......#.#.#
#.###.#####.###.#.#	#.###.#.#.#####.#.#
#...#.....#.#.....F	#...#.#.#.#...#...F
#.###.#####.#####.#	#.#.###.###.#######
#.................#	#.................S
###################	###################

About

Package for generating and traversing mazes of 2 to n dimensions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published