A maze with one way through.
How the Maze generator carves a maze with exactly one way from start to finish, easy to hard, and prints it with its answer. Free, made in your browser.
By Suraj Kumar3 min read
A good maze has no loops to wander and no squares you cannot reach. This one is carved to be like that every time.
Carved by a walk.
The maze starts as a grid with every wall up. A walk starts at the top left, knocks down a wall to a square it has not seen, chosen at random, and steps back when it is boxed in, until every square has been reached. That leaves exactly one way between any two squares: a perfect maze.
Easy to hard.
Easy is 10 squares across, medium 20 and hard 32, as tall as the paper allows. The way in is at the top left and the way out at the bottom right.
And its answer.
The answer page draws the one way through, found by searching outward from the start. New puzzle carves another.
Further reading
Topics: maze generator · printable maze · maze maker · mazes for kids · maze with answer
A little less theory. A little more doing.
Try it on your own terms, with a free browser tool.
Try the tool