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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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