Space key to generate a new random maze. This is just some code I made that can generate mazes of different sizes using the pen. It is not the most efficient way to create a maze, and the mazes aren't always solvable, I just wanted to see if I could make this.
294 blocks If anyone could help me create an optimal-path-finder algorithm that would be very appreciated.