Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

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.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M91966466

Have any Question?


Related Questions in Homework Help/Study Tips

Prepare view the globalization at a crossroads series

Prepare: View the Globalization at a Crossroads series episode and read the article A Model of Global Citizenship: Antecedents and Outcomes by Stephen Reysen and Iva Katzarska-Miller (2013). Go to the Ashford University ...

Question observational and motor learningduring the period

Question: Observational and Motor Learning During the period of early childhood, mastering fine motor skills is a very important process needed for physical and cognitive development. However, for a number of different r ...

Question 1 and 2 must be answered on separate pages with

Question 1 and 2 must be answered on separate pages with separate references. Question 1 Review "Doing the Right Thing" in Chapter 5. Governmental Planning Takes Diverse Forms. A partial list of large-scale governmental ...

Question topics consumer adoption market growth strategies

Question: TOPICS: Consumer Adoption, Market Growth Strategies, New Product Development, Product Management SUMMARY: Amazon is offering makers of electronics a small chip that would let people use their voice to command e ...

What findings in psychology support the stage theory of

What findings in psychology support the stage theory of development and the idea of stability in personality across the lifespan? What findings challenge these ideas?

Question 1 summarize the reasons for the bankruptcy whether

Question: 1. Summarize the reasons for the bankruptcy, whether the company is out of bankruptcy, and the results of the bankruptcy. What are your thoughts on the bankruptcy? Make it a substantive conversation. Also, befo ...

You will research this area of nonprofit engagement

You will research this area of nonprofit engagement: Environment and Animal Rights Answering each of the following questions in few words but included with a source (citation) regarding to the specific question. • Which ...

Add the following to your action research project essay

Add the following to your Action Research Project essay specializing area in Reading literacy. Respond to the following in Part C; Part D; Part E. Using APA style and reference. Part C: Making a Plan : Write ½ page Descr ...

Assignment the culture industry1 to prepare for this

Assignment : The Culture Industry 1. To prepare for this assignment, read the chapter on critical theory and review your notes on the culture industry. 2. Conducting your research: Get on line and look at advertisements ...

Question use the practice problem and a qualitative

Question: Use the practice problem and a qualitative, peer-reviewed research article you identified in the Topic 1 assignment to complete this assignment. In a 1000-1,250 word essay, summarize the study, explain the ways ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As