probably not...because I'm sure that the maze that this will be graded on will be different then he has supplied right now to make the program....this is actually a very trivial program. Recursively step through the array, keeping track of the position that you are at....each time check for walls on all sides. If you encounter a dead end, go of the stack. Also keep track of the directions by printing them into an array.
Originally posted by Felix
Maybe when "drawing" the maze, you should add which type each room is - i.e. a type one room is a room which has a way back and forth, and a type 4 room is a room where you can go back, forth, left and right. This room ofcourse links to type one room. But a type 2 room can only go left and forth. Got it?