Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4) In this final part you are to design and run a tournament using the classes and methods you have created above in the static

Q4)

In this final part you are to design and run a tournament using the classes and methods you have created above in the static method runTournament()

The tournament must follow the same pattern as a traditional world cup but with a slight difference.

The tournament must follow the scoring system of : 3 points for a win, 2 points for a draw and 1 point for a loss

A group stage with 8 groups from A-H of 4 teams, where the top two teams with the most points go through to the knockout stage.

i) Use the points data and the score of each match to determine the winner of each individual match of each group.

ii) Make sure that the unfit players are more likely to get injuries and the aggressive players are more likely to get booked.

iii) Randomize the group stage results so that any of the top two winning teams plays any of the top two winning teams in any group in the knockout stage.

iv) In the knock-out stage, create a quarter-finals, semi-finals and finals stage with the winning team of each stage with the highest score progressing to the next stage

v) Make sure the top two highest scoring teams from the semi-final stage progress to the finals stage where a winner will be declared.

v) When you have completed your implementation complete a short description of how it works.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions