jkc140 / matchMakingSchedule

This program is going to create a schedule for a softball team
1 stars 2 forks source link

Problem with matches and getting the opponent #37

Open jkc140 opened 4 years ago

jkc140 commented 4 years ago

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

jkc140 commented 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

jkc140 commented 4 years ago

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)

jkc140 commented 4 years ago

array of opponent could be in a team class as well as storing the location there??

jkc140 commented 4 years ago

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