* Smooth Camera Follow
* Maze generation algorithm
This algorithm is recursive division method
to get a perfect maze. All the areas inside of it are reachable.
Each time, it will divide the areas called chambers
in two smaller areas and will keep the proccess until all chambers are minimum sized.
This is a modified version, The original algorithm was made by xabi
To use it just call
var width = 41;
var height = 41;
List walls = RecursiveMaze()
.build(width, height, orientationType: OrientationType.randomized);
You can see the demo in examples/maze.dart