Hero Project
We want to create a simulation of a conflict between two groups of heros.
The simulation will consist of a list of at least one instance of class Super for each side.
Each instance of class Super will contain the following information:
Id
X, Y, Z location in space
Physical attributes (strength, endurance, agility, speed)
List of powers (p1…pn)
List of equipment (e1..en)
List of Super * called Target (which might be one or more)
A power has the following attributes:
Effect (strength, endurance, agility, speed) is a modifier
Example (-10, -20, 0, 0)
Example (+4, 0, +2, 0)
Duration
Type: single or multiple targets
Range
Equipment has one or more powers
A round will consist of a number of attacks between the teams.
Order will be determined by a randomly augmented speed.
An attack will consist of a character handing one or more targets an effect.
Combat: To-Hit phase followed by a Damage Phase
To Hit is computed as
50+(atk(speed + agility) – def(speed +agility))
is compared to a random 1 to 100 value with a hit scored with the random is the hit number or less.
Damage is computed as
RawDamage = (50+(atk(str+spd) – def(agility+endurance)))
Damage = RawDam*(100+atk(endurance))/2000.
Damage is subtracted from the defenders Endurance score
All powers, equipment and weapons have a set of the attribute (effect) scores.
Development
Design the test cases for an object
Create instances of that object
Test that object
Rinse and repeat for base objects.
Effect, Power, Equip
Create two lists of characters, TeamA, TeamB
Sort by speed
Character with highest speed goes first
Choose target by proximity
Choose power randomly
Move if necessary to use power
Attempt to hit
If hit is successful then compute damage
Apply damage to targets endurance (health)
The next highest speed goes next regardless of team until all chars have had a turn.
Rinse and repeat until one team has all endurance scores reduced to zero.
Last Completed Projects
| topic title | academic level | Writer | delivered |
|---|
Are you looking for a similar paper or any other quality academic essay? Then look no further. Our research paper writing service is what you require. Our team of experienced writers is on standby to deliver to you an original paper as per your specified instructions with zero plagiarism guaranteed. This is the perfect way you can prepare your own unique academic paper and score the grades you deserve.
Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.
[order_calculator]