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

  Explain the characteristics of dna

Design the DNA sequences with the following characteristics. You have to give the full sequence base by base in your answer. Linear DNA with melting temperature of 80 to 82 C, the sequence length should be less than 60 bases.

  Recommendation for improving current laws

Analyze the various ways in which property rights encourage economic development and make at least one recommendation for improving current laws. Explain your rationale.

  Discuss limitations of economic indicators of development

Discuss the limitations of economic indicators of development (such as income per capita). Evaluate to what an extent "quality of life" (also known as "social") indicators of development --such as infant mortality-- might overcome some of the shortco..

  Risk factors associated with lung cancer

Could you analyze three key risk factors associated with lung cancer as it pertains to Georgia.

  Case for curbing or continuing the use of irrigation

For your essay, make a case for curbing or continuing the use of irrigation in states that use the Ogallala Aquifer for water used in irrigation.

  Identify the issues and potential conflicts

Using the case study you picked from the book, identify the issues and potential conflicts. Look at areas like personal problems and conflict of interest, along with any of the standard competencies.

  Who wrote the book of acts according to acts 18 write

who wrote the book of acts? according to acts 18 what are the three regions of growth that the church would expand

  The name of the article is if you want to watch game of

the name of the article is if you want to watch game of thrones pay for it from la times. its not available right now

  Consequences of determinism or freewill

Does the theory consider depression to be the consequences of determinism or freewill?

  Current occupational health issues

Prepare a two page Article on Curent occupational health issues

  Identify education,key interrelationships with professions

Select a disease process from among the following-Diabetes,Obesity and Coronary artery disease

  What are the pros and cons-reaction to the statement

Share your reaction to the statement: “Having so much information available about people is helpful in all situations and from every perspective.” What are the pros and cons? Provide a specific incident or personal or professional content in your ..

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