Website powered by

Simple maze generation algorithm

A simple Unity script that creates mazes with the cell size and number required. It's based in the recursive backtracker algorithm. It also makes a color gradient with the maze solution. You can download the script from:

Recursive Backtracker Maze Algorithm in Unity