Section D 2019
Section D of your Unit 1 exam will focus on the skeleton program and improvements to it. The question will specify which part of the program is to be used, and what you need to change. I will create a list of potential improvements, and over time we code each one and document it.
Improvements
Create a method to dump the data to the screen
Count the number of player instructions
Implement a way to display your inventory
Add a Help command to display a list of possible commands
Add to the examine method the ability to examine the room, ie to repeat the description and items
Add a Drop command to drop an item in the inventory
Add a command to Eat (you start with an apple in the items)
Add a command to Drink (you start with a flask in the items)