This lab is about a simple maze game that engages them with how to think about how even a simple game can become difficult conceptually, this takes them through the process of making a text based game where they have to make the map, the obstacles and even the player controls. The main focus of the lab is to get them to really think about the edge cases that come up not only in games but in coding in general. This meets all of the requirements for their end of year lab in the form of the Maze and Player classes for proving they can make member classes and member variables appropriately, these classes are made dynamically as per request. There are 2 main vectors they must keep in mind: the maze map and the player's moves; the former they make adjustments to the vector elements after setting a predetermined size of the vector in two dimensions. The latter is to read the vector and perform calculations based on the vectors elements, this vector gets updated dynamically by the movements made by the user during playing/testing. These two classes work in tandem where the class members of the Player directly impact each maze object.

Built With

Share this project:

Updates