Open jkc140 opened 4 years ago
Instead of having each number associated with a park, it could just be a number of slots, then you assign the name of the park to that location
Is the problem really solve, all that change is the slot number of tempSelect, matchInfo does not have any info that is relevant to the placement of the team.
What it could be/should be is an array of opponents that is called and then it checks to see who play who and based on park given it would put those teams in matchInfo (the correct/corresponding slot to the park)
array of opponent could be in a team class as well as storing the location there??
it is finished and should work, the only problem write now is the time it takes random Park (see issue 54) to assign parks, so it has not been tested
at the moment it is getting the information from matchInfo array, but that information is stored at the end. meaning that the teams would already be stored in a time and park location slot. Which does not mean that they are going to the right park. SO may have to redo