Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your team has been assigned to develop a console or GUI turn-based battle game. The game allows player setup his/her team which made up of

image text in transcribedimage text in transcribedimage text in transcribed

Your team has been assigned to develop a console or GUI turn-based battle game. The game allows player setup his/her team which made up of a numbers of units (default is 3 ). Each unit has a name, health point (HP), attack point (ATK), defence point (DEF), experience (EXP) and a rank. On top of that, a unit can be either a Warrior or Tanker which having different strength in different range for ATK and DEF point. The initial value for each attribute point are describe in the details requirement in Part A - Table 1. The game will then setup another team belongs to Al which made up of same number of unit as the player's team. The type of unit will be assigned randomly by chances. The name of each unit will be specify by the player while the name of each unit for Al team will be defined with prefix with "Al" follow by 2 random digits i.e. Al87. A player can select a unit from his/her team and attack the other unit (the target) in the opponent / Al team. Unit which are severely damaged (i.e. HP equals to less than 0 ) will be defeated and removed from the team. The team (player / Al) which destroy all the opponent units first will be declared as winner of the game. \begin{tabular}{c|c} Features & Description \\ \hline Game Setup & This features allows player to setup a team of 3 units and select which \end{tabular} profession (Warrior / Tanker) each unit will be. This features allows player assign name for each of the unit. The initial point for each attributes within a unit are assigned with the following rules: Table 1: Example of initial value for each attribute point within a unit. Student may define their own range for ATK and DEF based on their game setting This features then will setup the Al team which consist of 3 units with random name and profession as mentioned earlier. This features allows player to select a unit from his/her team to attack and then select another unit from the opponent team as the target. The program will then initiate an attack based on the selected unit and the target. The attack resulting the health (HP) of opponent being deductedo effect and both selected unit and targeted unit will gain experience (EXP). The following are sample calculation / game rules when an attack take place: - Damage = attacker.ATK - target.DEF + (random between negative 5 to 10 ) - target.HP deducted based on the calculated damage point. - attacker.EXP increase based on the calculated damage point. - Target.EXP increase based of its DEF point. - Extra EXP i.e. 20\% - 50\% gained by the targeted unit when the following incident happens: - Damage point more than 10 (gain extra 20\% EXP) - Damage point equal or less than 0 (gain extra 50% EXP) A unit will be promoted (level up) when the EXP point reached 100. - Rank will be updated upon promotion. - EXP will be deducted by 100 point. A unit will be removed from the team when the HP become 0 or less. hanced features, concept and packages applied

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions