Difference between revisions of "Section D 2019"
(→Improvements) |
(→Improvements) |
||
Line 3: | Line 3: | ||
==Improvements== | ==Improvements== | ||
[[Count the number of player instructions]] | [[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 a Help command to display a list of possible commands]] |
Revision as of 08:31, 11 December 2018
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
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)