Project - Mini Team Sports Game Simulation

Assignment Help Other Subject
Reference no: EM132412721

Project - Mini Team Sports Game Simulation

Project Requirement - UML Diagram document

Your program must include

1. Class design

Must have classes such as person, player, referee, game class etc.

2. Method/function blocks

Design your own methods (e.g., scoring, penalty kick etc.)

3. User inputs, Loops & Conditional statements

Being used to design your game logics

4. Arrays (including an array of objects) and Pointer variable (*)

Must demonstrate how to use both primitive array data and an array of objects

5. Game logics (2 Semi-finals & Final game)

3 games.

6. Randomization for base scoring/performance

Review previous assignment (also next slide)

7. Adding Penalty kick mechanism

Computer vs. User choice. Make a game more fun and dynamic through a user interaction.

8. File generation (summary result output to both screen and txt format)

Generate a txt file to show the summary (winner, total score, MVP etc. Be creative)

Display ranking in sorted order.

You must submit one zip file including all your Java files (test it before you submit!) and one MS Word document (minimum 3 pages, name it as project_youLastnameFirstnameInitial.docx)

In your MS Word document,

- Provides overall summary of your design approach

- Summarize the highlights of your work including your unique design features

- Indicates things/reason/constraints which you weren't able to accomplish (even if some of your program lacks required components, you may get some partial marks by explaining why/what went wrong).

- UML diagram.

Please review all the specification describe -

Generate 2 semi-final games and one final game,

a) For the final game, two winning teams from the semi-final game should battle for the championship!

b) Using array(s) (1D or 2D), create minimum 4 teams, and define minimum 3 variables/factors characterizing team performance (i.e., Nationality reputation, Speed, Power, Injury, Teamwork and Star Player)

Game play interface: When two teams for each game are selected, you program must display both name of each country(or team) and name of all 4 players with each player's (minimum) 3 skill levels.

Also, when  the game ends, the game statistics/results should both  be displayed on the monitor and be generated as 'wcResult.txt' file showing the summary (3 games: score of each team from 2 semi-final games, and the final game) This topic (file read/write) will be covered next week.

Your program should display the record of all 4 teams, and output the team ranks in order based on each member variable, not total.  Also, calculate the total sum for each team, and show the winning team.  Also, try an extra factor (quality of star player)

Functions relate to game play -

a) Scoring (goal!) can be achieved by comparing performance of team players from two different teams:

b) Design functions relate to attack and defense functions.

Not all 4 players should get involved in attack or defense. Pick a random number of players who will be involved in attack and defense. Then compare their total skill sets on top of overall team reputation/performance. You must design your own formula to figure out combined skill sets of multiple players. Also, consider how you can incorporate overall team reputation/performance into player's performance.

Example: Aassign a random value (1 as poor -5 as best) to 3 variables (speed, power, and/or teamwork) and 2 user entered values (Nationality and Star Player) relate to performance and apply these values to performance formula you designed (e.g. Performance = 2 x Nationality + Speed x Power + Teamwork + Star Player - injury) .

Could However, the magnitude of selected weight variable is not known to the user (Surprise! Apply random selected weight values for each team). If less than 1 (multiply this weight value to a selected variable; recalculation!), under performance than previous initial sum. If more than 1 (multiplied by weight >1), this special weight value introduced on one variable would perform better than the normal weight (1.0).

a. Design functions relate to penalty function as well as a function representing a unique skill to goalkeeper (e.g., catchingBall).

b. Design functions relate to foul, and receiving Yellow or Red card (Link explaining foul and yellow/red card from referee

1. Using array(s) (1D or 2D), create minimum 4 teams, and define 5 variables/factors( 3 random values and 2 value entered by a user) characterizing team performance (i.e., Nationality reputation, Speed, Power, Injury, Teamwork and Star Player)

2. To compare initial performance of each team, assign a random value (1 as poor -5 as best) to 3 variables (speed, power, and/or teamwork) and 2 user entered values (Nationality and Star Player) relate to performance and apply these values to performance formula you designed (e.g. Performance = 2 x Nationality + Speed x Power + Teamwork + Star Player - injury).

3. Team competition is based on the total sum of all member variables for each team. To make the game more engaging, apply one weight value directly to manipulate/change one specific member variable entered by the user(either speed, power or teamwork) affecting initial sum.

4. However, the magnitude of selected weight variable is not known to the user (Surprise! Apply random selected weight values for each team). If less than 1 (multiply this weight value to a selected variable; recalculation!), under performance than previous initial sum. If more than 1 (multiplied by weight >1), this special weight value introduced on one variable would perform better than the normal weight (1.0).

5. Your program should display the record of all 4 teams, and output the team ranks in order based on each member variable, not total. Also, calculate the total sum for each team, and show the winning team. Also, try an extra factor (quality of star player).

Reference no: EM132412721

Questions Cloud

SOE11444 Global Business Economics and Finance Assignment : SOE11444 Global Business Economics and Finance Assignment Help and Solution, Edinburgh Napier University - Assessment Writing Service - write a report
What percentage of tall plants with white flowers : What percentage of tall plants with white flowers would you expect in the F1 generation? Give your answer as a percentage, and round to two decimal places
What does it mean by form follows function : What are at least two examples of this concept? Does physical exercise involve anabolic and/or catabolic processes?
Estrogen and progestin to prevent conception : 1. Most oral contraceptive agents use low doses of estrogen and progestin to prevent conception.
Project - Mini Team Sports Game Simulation : Project - Mini Team Sports Game Simulation. Class design - Must have classes such as person, player, referee, game class etc
Estimate the size of the unknown dna fragment : How would you estimate the size of the unknown DNA fragment just by looking at the gel?
Do you follow a vegetarian or vegan diet : Do you follow a vegetarian or vegan diet? If so, explain your strategy for consuming sufficient protein.
Cause a difference in plant height : What are some biotic or abiotic factors that could differ at high and low elevations and cause a difference in plant height?
Relationship between photosynthesis and cellular respiration : The relationship between the sun, autotrophs, and heterotrophs. Give examples of how the relationship between each group.

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