r/programming • u/balazsbotond • Aug 30 '15
JavaScript “maze generator” in a tweet
https://twitter.com/botond_balazs/status/637960240055615488
841
Upvotes
r/programming • u/balazsbotond • Aug 30 '15
View all comments
Show parent comment
7
u/Zarokima Aug 30 '15
Just to be a pedant, your final parenthesized point does not negate something's state as a maze. A so-called "perfect" maze only has exactly one path between any two points, but mazes in general may contain as many cycles as you like, and in the extreme case of that may not contain any dead ends (like this one).