Hacker News new | ask | show | jobs
by LanceH 4047 days ago
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.