Your team has been assigned to develop a console or GUI turn-based battle game. The game allows the player set up his/her team which is made up of a number of units. Each unit has a name, health point (HP), attack point (ATK), defense point (DEF), experience (EXP), and rank. On top of that, a unit can be either a Warrior or Tanker which have different strengths in different ranges for ATK and DEF points. The initial value for each attribute point is described in the details required in Part A — Table 1.
The game will then set up another team belonging to Al which is made up of the same number of units as the player’s team. The type of unit will be assigned randomly by chance. The name of each unit will be specified by the player while the name of each unit for the Al team will be defined with a prefix with “Al” followed by 2 random digits i.e. A187.
A player can select a unit from his/her team and attack the other unit in the opponent / Al team. The unit which is severely damaged will be defeated and removed from the team. The team which destroys all the opponent units first will be declared the winner of the game.
Need help with your own assignment?
Our expert writers can help you apply everything you've just read — to your actual assignment.
Get Expert Help Now →