r/programmingchallenges • u/aveganzombie • Sep 09 '11
Make a perfect maze.
A perfect maze is one that has one and only one path between any two points in it (without backtracking).
There are quite a few algorithms out there for this, but trying to make your own is good fun.
28
Upvotes
View all comments
Show parent comment
1
u/aveganzombie Sep 09 '11
Right. Though to make it more challenging, try to fill a rectangle of a given size (ie, every cell in the 2 dimensional array of cells is used)