100% Guaranteed Results


CS162 – Assignment
$ 24.99
Category:

Description

5/5 – (1 vote)

Goals-
Use linked structures to hold and manipulate data
Modify an existing parent abstract class (for use by the derived classes)

You will make a program to run a tournament. Start with your assignment 3 program for creatures if possible. If you had issues with assignment 3 and need to begin fresh, reference the creature descriptions from assignment 3 to build your fighters. A user will enter the number of fighters both players will use. The first player supplies a lineup of creatures in order. The second player then supplies their lineup of creatures in order. After each round you will display which type of creatures fought and which won. At the end of the tournament your program will display: the first, second, and third place finishers, their teams, as well as which side scored more points. You will provide an option for the user to see a list of the final order of all fighters (this means you will display the loser pile after displaying the first three finishers).

By lineup I mean something like a batting order in baseball or softball. The head of each lineup fights. The winner gets put at the back of his team’s lineup; the other goes to the container for those who lost. The lineup order cannot be changed once the players are entered. Similarly, the loser pile should have the last loser at the top and the first loser at the bottom.
NOTE: Depending upon how you implemented the fight in Assignment 3 you could have ties. How does that tie change your end of match logic? What do you do if the final match is a tie? Specifically, where do you put the fighters? 
For this program you must use the structures from Module 1 to hold the lineups and the loser pile. Which (stack-like or queue-like) will you use for the lineup? Which will you use for the loser pile?
At the end of the tournament you should display the first, second, and third place finishers. You should also indicate their team(s), and which team won the tournament. This is another element you must define in the analysis and design stage. You must have a method to determine the winner: the total points for each team? The win-loss. Record? If a weaker creature beats a stronger creature maybe they get more points?  The losers are sorted (most recent first) in the loser pile. Can you use that information? In your final design document clearly state the system you are using and how you will implement it.

To help your testing and that of the grader provide an option to display the winner and the updated scores for each round. Also provide an option at the end of the tournament to display the contents of the loser pile, i.e. print them out in order with the loser of the first round displayed last.

What to submit in your zip file:
Your files that implement your class hierarchy
Your file(s) that implement the tournament, including the main function
Your makefile
Your reflections, which can include your design document, which as usual discusses the design, assumptions you needed to make, the test plan, testing results, and changes necessary as a result.

NOTE: Testing will be more involved. The reflections has more weight so you can provide a more detailed description of how you tested your program. Remember to include the results of unit testing!

Grading:
• programming style and documentation (10%)
• create tournament, getting the fighters, resolving the round, put the 2 fighters into the appropriate containers (25%)
• prompt the user and fill the two lineups based on the number of fighters entered by the user (10%)
• create and properly use the structures to hold the lineups (10%)
• create and properly use the structures to hold the loser pile (10%)
• create a heal or recovery function for the winners of each round (5%)
• create and implement a system to determine the final three finishers as well as determine which side won the tournament (10%)
• reflections document to include the design description, test plan, test results, and comments about how you resolved problems during the assignment (20%)

Popeye adding to the loser pile.

http://popeye.org/popeye-characters/popeye-vs-bluto-the-fights-where-we-knew-the-end

Reviews

There are no reviews yet.

Be the first to review “CS162 – Assignment”

Your email address will not be published. Required fields are marked *

Related products