Hi guys...just a question for more experienced programmers and comp sci people. Ive read on the majority maze generation algorithm (both iterative and recursive) and find that they all work quite well. However, my question is I have not found one that is able to produce the following maze. Most of the algorithms ive found work by setting up a "cell" or room structure and knocking down walls til there is a "perfect" maze, with only one path. BUT..doing it this way means the array will always be 2w+1 wide with w being number of cells across and 2h+1 height with h being the number of cells up and down. This means the array will always be an odd number by an odd number. How would one produce a maze like this one which is an array of 12x12:
############
#...#......#
..#.#.####.#
###.#....#.#
#....###.#..
####.#.#.#.#
#..#.#.#.#.#
##.#.#.#.#.#
#........#.#
######.###.#
#......#...#
############
Thanks guys
############
#...#......#
..#.#.####.#
###.#....#.#
#....###.#..
####.#.#.#.#
#..#.#.#.#.#
##.#.#.#.#.#
#........#.#
######.###.#
#......#...#
############
Thanks guys