Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

Alison Brodribb
Alison Brodribb
24,615 Points

I do not like this instruction for the Soccer League Organiser

Looking at the Soccer League Organiser project in the Android techdegree, I noticed the following instruction:

Teams can have a maximum of 11 players each.

While this works ok in the parameters project, as there are only 33 players in the list, it means that if there were 34 players in the league, then we would have to have 4 teams of about 8-9 players each, which would not fill up a soccer team. Pretty much any league would instead have 2 teams of 11 and 1 team of 12 (so the 3rd team had a sub).

I would much rather have the program dynamically advise the maximum number of players in a team, to give a minimum of 11 and a maximum of between 12 and 15, depending on the number of players in the league. (I say maximum of between 13 and 14, because I suspect that any league that had 121 players would almost always prefer to have 10 teams, with 1-2 subs per team than to have 11 teams with no subs).

Alex Millius
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Millius
iOS Development Techdegree Student 5,468 Points

I'm on the IOS Techdegree so the instructions may differ.

But I don't see any instruction on my side saying that yo have a maximum of player in a team.