Create simulation of a conflict between two groups of heros

Assignment Help Other Subject
Reference no: EM131210462

Hero Project -

We want to create a simulation of a conflict between two groups of heros.

1. The simulation will consist of a list of at least one instance of class Super for each side.

2. Each instance of class Super will contain the following information:

a. Id

b. X, Y, Z location in space

c. Physical attributes (strength, endurance, agility, speed)

d. List of powers (p1...pn)

e. List of equipment (e1..en)

f. List of Super * called Target (which might be one or more)

3. A power has the following attributes:

a. Effect  (strength, endurance, agility, speed)is a modifier

i. Example (-10, -20, 0, 0)

ii. Example (+4, 0, +2, 0)

b. Duration

c. Type: single or multiple targets

d. Range

4. Equipment has one or more powers

5. A round will consist of a number of attacks between the teams.

a. Order will be determined by a randomly augmented speed.

6. An attack will consist of a character handing one or more targets an effect.

7. Combat: To-Hit phase followed by a Damage Phase

a. 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.

b. 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-

1. Design the test cases for an object

2. Create instances of that object

3. Test that object

4. Rinse and repeat for base objects.

Effect, Power, Equip

I. Create two lists of characters, TeamA, TeamB

II. Sort by speed

III. Character with highest speed goes first

a. Choose target by proximity

b. Choose power randomly

c. Move if necessary to use power

d. Attempt to hit

e. If hit is successful then compute damage

f. Apply damage to targets endurance (health)

IV. 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.

Reference no: EM131210462

Questions Cloud

Discuss the potential suicide risk for this group : Discuss adolescent suicide. Select a group that could be considered a minority or a member of an underrepresented identity group based on one or more of the following characteristics: ethnicity, gender, sexual orientation, ability/disability [ment..
Identify the independent and dependent variables : What was the aim of the study - What is the main argument in the introduction? Is the argument convincing? Why, or why not?
Why might inflation accelerate as unemployment rate declines : Why might inflation accelerate as the unemployment rate declines? What is the unemployment rate in each year? Has the economy experiences an increase or decrease in the number of unemployed persons?
How is quantity demanded related to the overall price level : Explain the difference between aggregate demand and the aggregate quantity demanded of real output.- Ceteris paribus, how is quantity demanded related to the overall price level?
Create simulation of a conflict between two groups of heros : 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 and b. X, Y..
The major sources of changes in aggregate demand : What are the major sources of changes in aggregate demand? - What are the short- run and the long- run effects?
Opening techniques to build rapport with the volunteer : Assume you are employed as a counselor at your local high school. You need to conduct a 30-minute interview with a student who has suddenly had a dramatic decline in her grades. Prior to conducting any interview, it is extremely important to plan ..
Prepare a paper that discussing the airline ticket prices : Prepare a 2 page paper using APA format discussing Airline Ticket Prices. Explain the rationale behind equal prices for unequal distances in air travel using supply, demand, and cost curves.
How is investment spending related to the interest rate : What does investment spending consist of? - How is investment spending related to the interest rate? - Which is more volatile, consumption or investment?

Reviews

Write a Review

Other Subject Questions & Answers

  Using your research describe the current events and how

the purpose of this assignment is to explore stratification and prejudice in current events. despite great advances

  Reciprocal relationship between behavior and attitudes

Cognitive Dissonance- Describe the reciprocal relationship between behavior and attitudes

  Strategic role competitive-product and spatial relationships

Explain the strategic role competitive, product, and spatial relationships play in logistics. Explain the relationship between logistics systems and cost.

  Adoption of the marketing cicely encourage

Why does the adoption of the marketing cicely encourage a firm to operate more efficiently? Be specific about the impact of the marketing concept

  Kidney is donated to a loved one needing a transplant

When a kidney is donated to a loved one needing a transplant, the donor's kidney

  How would you determine the underlying interests of parties

Using information from this week's readings and Learning Resources, how would you determine the underlying interests of the parties? Identify which quadrant this negotiation would fall into and explain why.

  Hydrothermal mineral deposits of copper-gold-silver

Many hydrothermal mineral deposits of copper, gold, silver, and other metals have been found in the countries bordering the Pacific Ocean. Can you offer an explanation for this remarkable concentration? If you were part of a team of exploration geolo..

  American psychological association code of ethics paper

American Psychological Association Code of Ethics Paper

  How can communication and collaboration

How can communication and collaboration, and Power and politic influence group dynamics.

  Criminological theory and statistics

Criminological Theory and Statistics

  What moral theory does jeremy bentham endorse

Nagel argues that the atomic bomb attacks on Hiroshima and Nagasaki were just like what other kind of action, just on a larger scale?

  Describe the hazard type

Describe the task being performed when the risk might occur (washing dishes, moving a desk, etc.). Locate where the risk may occur (office, garage, etc.). Describe the hazard type

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd