Welcome to my Maze Algorithm. I challenged myself to build an algorithm that could build randomly generated mazes.
This is how it works.
My algorithm first examines four potential moves. It examines moving up, down, left and right. It is looking for two things: