Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Soccer League Coordinator in Swift

Alex Millius
Alex Millius
iOS Development Techdegree Student 5,468 Points

Priority on number of players or on average height?


As the extra credit is explained, it looks like we should make the average height of teams a priority, regardless of the number of players in the team.

In fact, there is no mention of the need for the same amount of players on each team. only that « the number of experienced players on each team are the same ».

With the list of player provided, this is not important. But in theory, if there is a very tall player, the instruction says that we should have an average height within 1.5 inches of the other team, with the same amount of experimented player in each teams, regardless of the number of player in each teams.

Since this is my first project, I don’t know if this is a trap :) (Maybe I do not understand well the instructions because they aren't written in my native language)