A* search: the shortest path, without looking everywhere
Moves go up, down, left and right, one step each; \(h\) is the Manhattan distance to the goal, \(|\Delta x| + |\Delta y|\). Mazes are carved by a seeded depth-first walk with some of their walls knocked out, and every search runs in the page.