The Rugby World Cup Organizing Committee has decided to embark on a project to automate their score
board keeping for rugby world cup games results. This program would be tested and used in the current
World Cup and then later could be used in the major rugby tournaments around the globe. The committee
has hired you and has provided you with the following information about the current tournament rules and
how results are maintained manually at the moment.
Your program will record points from each game in the tournament and calculate which two teams qualify
for the finals.
In each game, the winning team receives 3 points and the losing team 0 points. If teams draw, they each
receive 1 point. Each team’s cumulative score differential (points scored – points allowed) is also recorded.
(Score here relates to points for try’s, conversions plus drop goals)
The two teams with the highest number of points qualify for the finals. If two teams have an equal number
of points, ties are resolved by seeing which team has the highest score differential. (If two teams have
equal points and an equal score differential, your program can choose either.)
Specific program requirements:
• There are only four teams participating – Fiji, Samoa, Tonga and Niue. ☺
• You do not have to manage which teams play against each other in which game. For example, you
can allow 3 games of Fiji v/s Tonga to be entered.
• You do have to check that no game involves a team playing itself (Fiji v/s Fiji).
The interface should have:
• Places to enter the names of the teams and their score against each other. (Your interface should
only have space for entering results from one game at a time.) You can design this in either of the two
ways described below.
• A button to enter/submit the scores (results) of the game. When this button is pressed, your program
should save/update the scores for the teams and then clear the places where information about that
game was entered. If the information for a game is incomplete or incorrect (~like a team playing
itself), your program should warn the user in a message box and not save the scores.
• A button to display the two finalists. Remember this button could be pressed any time to display the
two finalists. (Logically after results of at least one game is entered).
• A place /or places to display the two finalists.
• A button to exit your program.
Game Entry interface options:
o Have text boxes for the names and scores where the user will type in the names of the teams
and their scores manually. In this case, only entries that match names of teams participating
in the tournament should be accepted.
o Have option buttons for team names and text boxes for the scores.