The Following program is a simple Maze Generator with rooms in unity Engine.
The mazes in this project are created with recursive backtracking method.At the start a number of rooms are placed on the grid,and the walls between the cells inside a room are deleted. rooms can have intersections, as this will make creation of rooms with complex architecture easier.After this the recursive backtracking method is used on the cells that are not a part of any room to create path between rooms and other cells.