Learnacy Lab

A Maze Is a Graph · Computer Science

Turn a grid maze into a graph — cells are nodes, open neighbours are edges — and a breadth-first flood finds the shortest way through.