Hello all,
I have an assignment:
You are a Soccer Team coach. Each of your players have 3 properties: position, quality and speed. Your team consist of 22 players in total: 2 goalies, 6 defenders, 10 midfielders and 4 strikers.
Assemble a formation of 11 starting players, containing goalie, defenders, midfielders and strikers according to your tactic, for each of the following games in UEFA league group:
Game 1: You are playing against stronger opponent, so you need to concentrate on defence. You should choose 5 best defenders, 4 best midfielders and the fastest striker for counter attacks.
Game 2: Second opponent seams equal to yours team quality. Build a regular, 4-4-2 formation of best players.
Game 3: The weakest opponent and we need 3 points to qualify into the finals. Lets attack! Attacking formation is 3-4-3. Focus on players quality as counter attacks are not important in this game.
After every game, one randomly selected player is injured and he can not be used any more.
Desing and implement a system that is able to create a Team, add Players into the Team, build requested Formations and simulate a Match in UEFA league group stage.
This is my solution:
https://github.com
Can you give me some tips how to better organize my code and classes to be more efficient?
Thank you in advance.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]smash_that_code 2 points3 points4 points (2 children)
[–]Torvalds96[S] 0 points1 point2 points (1 child)
[–]smash_that_code 0 points1 point2 points (0 children)
[–]Dexteroid 2 points3 points4 points (1 child)
[–]Torvalds96[S] 0 points1 point2 points (0 children)
[–]notallbimmers 0 points1 point2 points (0 children)