In this project, you are to re-code the maze navigation game using classes. The data code and data is declared this header file. The information about room, room pairs and the maze encapsulated in classes.
You should implement the member functions for classes incrementally. Start with implementing member functions for class Room, then proceed to RoomPair and then to Maze. Uncomment the portions of testMaze.cpp as you work on a particular class. Once your project works correctly with all code of testMaze.cpp uncommented, submit your project.
Hint: the pseudocode for your main() should be as follows:
declare an object of class Maze declare a finish room with the cheese call build() method on the maze prompt the user if she wants to see the maze wall positions printed loop while the current mouse location is not the finish room and the user wants to continue the game (the selected room is not the -1*) inside the loop get the current mouse room print it on the basis of the current room, get the next room from the user, invoke move() with this next room analyze the return value from this move() to see if it was successful if not: report a wall
Milestone: member functions for Room and RoomPair are implemented.