Difference between revisions of "Section D 2022"
(→Functionality) |
(→Extension) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
[[2022 - Implement a count of the cards remaining in the deck]] | [[2022 - Implement a count of the cards remaining in the deck]] | ||
+ | |||
+ | [[2022 - No error message is displayed if the user attempts to play two consecutive cards of the same tool type]] | ||
+ | |||
+ | [[2022 - Create an option to quit the program]] | ||
=Functionality= | =Functionality= | ||
+ | [[2022 - Allow the player to choose either a random lock or a specific lock number]] | ||
+ | |||
[[2022 - Allow the player to create a new lock]] | [[2022 - Allow the player to create a new lock]] | ||
[[2022 - There is a load game feature but no way of saving a game]] | [[2022 - There is a load game feature but no way of saving a game]] | ||
+ | |||
+ | [[2022 - Lock challenges must be completed in order]] | ||
+ | |||
+ | [[2022 - Create a peek option to look at the next 5 cards in the deck]] | ||
+ | |||
+ | [[2022 - Create an option to generate statistics from the deck, ie % chance of a type of card]] | ||
=Extension= | =Extension= | ||
Line 23: | Line 35: | ||
[[2022 - Add a joker card]] | [[2022 - Add a joker card]] | ||
+ | |||
+ | [[2022 - Add a Multi-key card]] | ||
+ | |||
+ | [[2022 - Add a Advanced Lock]] |
Latest revision as of 15:26, 24 January 2022
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
Simple Improvements
2022 - You cause an exception if you enter a card number out of the range 1-5
2022 - Implement a count of the cards remaining in the deck
2022 - Create an option to quit the program
Functionality
2022 - Allow the player to choose either a random lock or a specific lock number
2022 - Allow the player to create a new lock
2022 - There is a load game feature but no way of saving a game
2022 - Lock challenges must be completed in order
2022 - Create a peek option to look at the next 5 cards in the deck
2022 - Create an option to generate statistics from the deck, ie % chance of a type of card