Mini Team Sports Game Simulation Project

Assignment Help C/C++ Programming
Reference no: EM132420234

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: EM132420234

Questions Cloud

Create a business card with all logos : You need to create a business card with all logos and white blank is for it This business card is for a special customers that will given during an exhibition
Define international human resource management : Define International Human Resource Management and discuss 2 differences between IHRM and domestic HR functions.
What is marketing mix : Definition of Marketing mix came from Neil Borden.Marketing mix for a product and Service.Explain the marketing mix for a product consists of 4P's
What is the present value of the retreading operation : Nick hopes to earn a return of 11% on such investments.What is the present value of the retreading operation?
Mini Team Sports Game Simulation Project : Project - Mini Team Sports Game Simulation. For the final game, two winning teams from the semi-final game should battle for the championship
Leadership and you : What style of leadership seems to be good fit for you as you prepare for leadership role in social work and why. Explain your previous leadership skills
Examine the principles of community policing : Examine the principles of community policing and its importance in law enforcement. Explain how it differs from traditional policing.
Write about Louis Armstrong and his Influence to Jazz : Question - Write about Louis Armstrong and his Influence to Jazz.
Evaluate the security measures taken by the fps : Evaluate the security measures taken by the FPS and determine if the measures are comprehensive enough, given any potential threats not mentioned in the report.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program which includes two functions

The United States Center for Disease Control uses this to classify people as normal, underweight, overweight, or obese.

  Design and implement a c program and structure diagram for

design and implement a c program and structure diagram for the subsequent specification.show writing and calling

  Create a base employee class and a derived studentemployee

create a base employee class and a derived studentemployee class. below is the basic uml structure of both

  Digital filtering

Write a main code that reads filter coefficient data from the file filter.txt and creates a filter, reads an input float_seq from the file input.txt, filters the input float_seq using the filterand then writes the output float_seq to the file, output..

  Write a function for upper triangular matrix

Write a function 'function x = u solve(A,b)' to solve Ax = b when 'A' is a upper triangular matrix.

  Find average will return average of the number of the array

FindAverage will return the average of the number of the array. FindMinGap will return the smallest gap in between the adjacent entries of the array. (A gap between two numbers is the absolute value of their difference).

  Write function that finds the minimum of three double value

1. Write a function that finds the minimum of three double values. This function should use another function that finds the minimum of two double values.

  Compare run times using an array

Write a iterative and recursive versions of binary search and compare their run times using the array a[i]=i, i=0,...,n-1 and the subsequent test method:

  Write a program in c++ to read a text file

Write a program in C++ to read a text file (containing more than 500 words), count its alphabets, digits, special characters, capital and small letters, number prepositions and count for each word.

  Class scope variables-helper methods

Design a C# Windows Application to compute the cost of manufacturing different objects. The object can be a cylinder, a cone or a prism with the equilateral triangular base. The user should enter the radius of the base (or the side of the base for..

  Create a data file called friends.dat

Create a data file called friends.dat using any text-based editor and enter at least three records storing your friends' first and last names. Make sure that each field in the record is separated by a white space.

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