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
1
u/Bwob Aug 31 '15
Eh, it's clever recognizing that using those characters in that alignment makes something that looks like a maze, with minimal algorithmic complexity. Don't confuse "easy" with "non-clever". There's still a good trick here, worth remembering if you haven't seen it before.