Difference between revisions of "Section D 2019"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
m (Admin moved page Section D 2020 to Section D 2019 over redirect)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
[[Create a method to dump the data to the screen]]
 
[[Create a method to dump the data to the screen]]
  
[[Improve change item status method, you can replace but not remove just a single word from the status]]
+
[[Count the number of player instructions]]
  
[[Count the number of player instructions]]
+
[[Limit the number of items that can be held in the inventory]]
  
 
[[Implement a way to display your inventory]]
 
[[Implement a way to display your inventory]]
Line 15: Line 15:
  
 
[[Add a Drop command to drop an item in the inventory]]
 
[[Add a Drop command to drop an item in the inventory]]
 +
 +
[[Adapt the Use method to switch the torch on and off]]
  
 
[[Add the code to use an item as a weapon(truncheon has status of weapon)]]
 
[[Add the code to use an item as a weapon(truncheon has status of weapon)]]
Line 22: Line 24:
 
[[Add a command to Drink (you start with a flask in the items)]]
 
[[Add a command to Drink (you start with a flask in the items)]]
  
[[Add a command to Save to a new game file]]
+
[[Add a command to Save to a new gme file]]
 +
 
 +
[[Inventory based on size of items]]
  
[[Limit the number of items that can be held in the inventory]]
+
[[Improve change item status method, you can replace but not remove just a single word from the status]]

Latest revision as of 13:12, 2 September 2019