r/programmingchallenges • • 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

21 comments sorted by

View all comments

Show parent comment

1

u/groundshop Sep 12 '11

Passing arbitrary dimensions (2d,3d,4d, etc.) as a parameter sounds like an interesting twist