Vanderbei’s applications · Princeton University

Maze Generator

Generate a maze and follow the depth-first solver from the entrance to the exit. The blue line marks the current route and the gray line marks backtracking.

Maze

Seed
—
Moves shown
—
Route length
—
Generate a maze
Follow the solver

The entrance is on the bottom edge. The solver checks left, right, up, and down in that order.

Loading the Python engine…