Size       Scale       Speed  

 Show Only the Movement (Fastest)
 Show All Movement including the Movement Trail (Fast)
 Show Only the Movement Solution - Less Pretty (Slow)
 Show Only the Movement Solution - Pretty (Slowest)

 Show Elapsed Time (Runs Solution Slower)

   

Think you are a good maze solver? See if you can beat your computer! Unfortunately... the faster your computer, the harder it will be to beat.

This maze generator and solver is unique in that it's solver is written in Javascript. Meaning it works in your browser without needing any other software. It also means you can look at the code to see how it is done. Please remember this code is proprietary and cannot be redistributed without permission.

The maze is generated using an algorithm I wrote in high school in the 80's. It's original intention was to dynamically create a universe for a game I was developing. I modified it in the 90's to have one way in and one way out. It is still dynamic, but I have limited the size of the maze for visual purposes. The generator is capable of creating a maze with billions of turns and dead ends. It is only limited by the memory of the server is runs on.

* Be careful with the settings as changing the size, scale or speed can dramatically affect the performance of the maze solution as well as your computer.

** For those of you that are curious. BioPhorm's The Amazing Maze Race uses an adaptation of the left-turn rule, one of, if not, the most simple methods for solving a maze. My solver simply attempts to turn left, if it cannot, it goes straight. If it cannot go straight, it turns right. If it cannot turn right, it goes back the way it came and starts the process all over again with a left turn. It is that simple!


©1996-2024 Robert Hankin. All Rights Reserved.