Objective:

To learn to use class templates from the C++ Standard Template Library (STL).

Description:

For this project you are going to add two new nontrivial features to your adventure game that were not present in any of your previous project submissions. The idea is to make the game as fun as it can be. You should start with your Project 6 submission as the basis for completing this assignment. If you were not happy with your project 6 submission you can begin with the project6starter project on the course Canvas site (you will not be penalized on this assignment if there is no Inventory feature).

Requirements:

Since the objective of the assignment is to learn to use the STL, you must use two STL classes in your project in some meaningful way. What you use them for is up to you. You might add a new Location subclass at which the player can find items that are stored in a stack or queue. You could use a map to store a new special list of items that the player needs to find to win the game (that is separate from the Inventory you made in Project 6). In the file that contains your main() function, you must clearly explain in the comments what you did to meet the requirements for this assignment. In other words write in the comments the two features you added that use STL classes, and explain where in your code these features were added. Furthermore, the directions of the game (that are shown in the console window when the program first runs) should clearly explain to the user how to play and describe the new features that have been added to the game for this project that make use of STL classes.

As always, you must write separate .h files for each class.

You should also use good commenting and code style.

You may not use global variables or GOTO statements.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.