Difference between revisions of "Section D 2021"
(→Functionality) |
(→Extension) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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. | 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. | ||
+ | |||
+ | =Simple Improvements= | ||
+ | [[2021-Draw not possible| Draw not possible]] | ||
+ | |||
+ | [[2021-In game help screen| In game help screen]] | ||
=Functionality= | =Functionality= | ||
− | [[2021- | + | [[2021-Output tiles in string|Output tiles in string]] |
+ | |||
+ | [[2021-Get grid size|Get grid size]] | ||
[[2021-Save Game| Save Game]] | [[2021-Save Game| Save Game]] | ||
Line 10: | Line 17: | ||
Generate a random starting grid | Generate a random starting grid | ||
− | Create a new type of tile called | + | Allow the player to set the grid size |
+ | |||
+ | Create a new type of tile called Tundra (similar to other tiles) | ||
+ | |||
+ | Create a new type of tile called Lake (no piece can use this tile) | ||
− | Limit the output from a forest | + | Limit the output from a forest and when exhausted change it to a field. |
=Extension= | =Extension= | ||
+ | Be able to downgrade a piece back to a Serf | ||
+ | |||
Create a new Forester piece (ie to create a forest from a field) | Create a new Forester piece (ie to create a forest from a field) | ||
Player sub-classes | Player sub-classes |
Latest revision as of 15:54, 23 November 2020
Section D 2021
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.
Simple Improvements
Functionality
Generate a random starting grid
Allow the player to set the grid size
Create a new type of tile called Tundra (similar to other tiles)
Create a new type of tile called Lake (no piece can use this tile)
Limit the output from a forest and when exhausted change it to a field.
Extension
Be able to downgrade a piece back to a Serf
Create a new Forester piece (ie to create a forest from a field)
Player sub-classes