Maze Algorithms Create and Solve

Excerpt

This page contains a Maze Algorithm that creates a maze with exactly one path wetween two points and illustrates this using html to display the maze an a Tracking Algorithm to show how to solve.

This was created many years ago on .net using c# and javascript for IE5. Porting it to current the JavaScript version was possible in a few hours.

Have much fun debugging...

Example

Click to start resolving the maze. when steps get slow, just click somewhere on the page.

Tags

JavaScript