Re:Maze Generator and Solver
by LanceH on Tuesday May 26, 2015 @10:55AM
(#9605239)
I mostly wrote this: https://github.com/LanceH/Maze
while on conference calls before I started using that time to learn to draw.
I only ever ran it from within eclipse, I can't remember if it would run from the command line. It's a depth first search with solution also printed.
The only thing I added that I hadn't seen elsewhere is the "twisty" variable, which weights the random direction to either going straight or turning. I liked straight hallways on large mazes because it makes things blur together.
I only ever ran it from within eclipse, I can't remember if it would run from the command line. It's a depth first search with solution also printed.
The only thing I added that I hadn't seen elsewhere is the "twisty" variable, which weights the random direction to either going straight or turning. I liked straight hallways on large mazes because it makes things blur together.