Difference between revisions of "Section D 2022"
(→Investigate List) |
(→Simple Improvements) |
||
Line 10: | Line 10: | ||
=Simple Improvements= | =Simple Improvements= | ||
− | + | [2022 - you can cause an exception when enter a card number out of the range 1-5] | |
+ | [2022 - when you start the game it automatically loads a saved game, adapt it to ask which game to load] | ||
+ | [2022 - Implement a count of the cards remaining in the deck] | ||
=Functionality= | =Functionality= |
Revision as of 15:18, 13 November 2021
Section D 2022
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.
Investigate List
Solving a lock doesn't create a new one until you play another card
When using a card, entering a card number greater than 5 causes an exception
Simple Improvements
[2022 - you can cause an exception when enter a card number out of the range 1-5] [2022 - when you start the game it automatically loads a saved game, adapt it to ask which game to load] [2022 - Implement a count of the cards remaining in the deck]