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

Java

Need help with my project

I'm stuck with the "remove" method in my switch statement. When I try to remove the prompted player by the "promptTeamsPlayers" it doesn't work. Now I know it's because I have created a clone of the list of players from the member variable "teams", but am unsure on how to actually remove that chosen player, I'm sure it's a really simple solution but have over complicated in my head and cant see the wood for the trees. Hope this makes sense. I'll leave my snapshot link https://w.trhou.se/x0yxlzqpxm any help would be appreciated. Oh yh this is in the "run()" method in class "Run". Thanks