I've tried to for() my ArrayList with @Override toString in my Tournament Class and trying to make a simple SOUT in another Class .get(0). Unfortunately the toString doesn't work and I'm just getting...
Type: Posts; User: DinoKing
I've tried to for() my ArrayList with @Override toString in my Tournament Class and trying to make a simple SOUT in another Class .get(0). Unfortunately the toString doesn't work and I'm just getting...
I'm currently working on a knock-out tournament
Overall Requirements:
-UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
-Setup for matches...
I'm currently working on a knock-out tournament
Overall Requirements:
-UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
-Setup for matches...
I'm currently working on a knock-out tournament
Requirements:
-UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
-Setup for matches (who vs....
I found a solution to the issue. Thank you very much for your time and help along the way....
int numPlayersPerTeam = Integer.parseInt(readUserInput("Hvor mange spillere er der på holdet?"));
...
I need to skip my very first line from the txt file, but I can't seem to find any solution to this as I only want my team names :P
My file is currently:
teamName, teamPlayers
teamA, 1, 2, 3, 4...
Thank you very much, your reply lead me in a new direction.
- Unfortunately I now have a different problem, maybe you can see the fix to it.
It is repeating my Player Name: twice before I'm...
I hear what you are saying, but I can't really see it... Might be because I'm a beginner, but even though I use a for each I will just run through the Array but where is the link between team and its...
Okay, but how do I link the two together?
So when I have my ArrayList with teams it knows that Team1 has Jens, Julia and Peter has its players