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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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