3 ms·
I mostly wrote this: https://github.com/LanceH/Maze https://github.com/LanceH/Maze while on conference calls before I started using that time to learn to draw.
by LanceH 11y ago
I mostly wrote this: https://github.com/LanceH/Maze 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.