Overview

You are required to develop a Java application to provide the functionality outlined herein to the end user. Your application should be menu-driven. The user should be permitted to repeatedly choose options from your menu until such time as the user selects the option to exit your application. You are expected to (i) minimize keyboard data entry (ii) validate user input and (iii) make appropriate use of methods. In addition, your code should not undertake any unnecessary comparisons.

You are required to document your source code such that the input to, the processing performed by and the output from each programmer-defined method is detailed.

State clearly any assumptions you make.

Functionality

When your program is launched, the end user should be permitted to commence a new league/division/tournament or to request that data relating to a league/division/tournament that is in progress be loaded (from the relevant data file(s)).

If the user wishes to create a new league/division/tournament your application should request that the end user supply the following information:

  • Name of League/Division/Tournament.
  • Number of the Participating Teams/Players (a positive integer >= 4 and <= 32).
  • Play Frequency from (i) Once or (ii) Home and Away.
  • Point to be awarded to a Team/Player based on the outcome of a fixture (for each of Win, Draw, Loss).
  • The Name of each Team/Player.

In addition, the end user can request to have the fixture list generated (based on the information supplied here) and displayed (incorporating the information supplied here).

For a league/division/tournament in progress the end user should be able to:

  • View a list of the fixtures played to date and the outcomes of these fixtures. This list should show the name of each team/player involved in a fixture along with the outcome.
  • Enter the outcome for a fixture. Your application should present the name of each team/player involved in the fixture and request the actual score.
  • View a list of the fixtures yet to be played. Your application should show the name of each team/player that will be involved in the fixture
  • View an up-to-date leader board for a league/division/tournament (similar to what you would see in relation to The Premiership - see next page) (without the highlighting).
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.