(48024) Applications Programming Assignment - UTS

Download Solution Order New Solution

Assignment Task 

Topics

OO Design, Standard Patterns, Lists

Working Language

You can choose either Java or Python to complete assignment 1. The higher mark between your Java solution and Python solution will be counted into your final grade. However, you are only credited with one of your solutions, either Java or Python, not both of them or the mixture.

The specification is illustrated based on Java. You can simply translate the Java syntax to Python for your Python solution. Detailed explanations about Python criteria will be posted on the FAQ page on ED.

Specification

The National Basketball Association Game System will consist of four main components: team management, player management, an association component, and a season scheduling component.

1. The association component allows users to manage the teams and game season via text-based menus.

2. The team management stores a team list, while each team has its own players. The team management component is capable of displaying all teams, displaying all players, adding a new team, managing an existing team, deleting an existing team, and displaying all players at a particular level.

3. The player management component is accessible from the team management menu. The player management component allows displaying all the players that belong to this team, the registration and removal of players in this team, and the update of players’ information. Each player’s information includes the name, credit, No., level, and age, while the level is calculated based on the credit.

4. The season scheduling component allows users to start a new season, while each season contains multiple rounds, and each round contains multiple games. Users can register the team for the round, display the teams in the current round, run the games in the round, and display the game results. After the round is completed, the players’ credits will be updated according to the result and the average credit differences between the two teams. Gaming rules are listed below to make it as clear as possible:

  • Game: Each game is played between 2 teams and generates one winner and one loser. The team that has a LARGER AVERAGE CREDIT will WIN this game. Suppose we have two teams in a game: Team A and Team B. The average credit of A’s players is 1000, and the average credit of B’s players is 500. As 1000>500, A will be the winner of the game.
  • Round: A season may contain multiple rounds. Each round may contain several games, and the number will be decided by how many teams register. Suppose we have 4 teams, namely A, B, C, and D. Then there will be 2 games in the first round, i.e. team A vs team C, and team B vs team D. After the first round is completed, the winners of each game will be automatically added to the next round.

An aside

While reading the first part of the specification, you will notice there is a lot going on.

  • How many functions did you identify?
  • How many classes did you identify?
  • What are the fields in each class?
  • How many goals did you identify?
  • How many patterns did you think of that might be applicable?

This assignment will be challenging, and you will probably want to manage your time well.

  • How long do you think it will take you to code the functions?
  • How long do you think it will take you to code each goal?
  • A good rule of thumb is to think of an estimate, and then multiply that number by 3 or 4!
  • To manage your time well, you may need to figure out which parts of the assignment you can start early.
  • Which parts can you start now?

This Engineering has been solved by our PHD Experts at My Uni Paper.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.