table-tennis-tournament / management-clients

0 stars 0 forks source link

backend: Color is missing when no open games #13

Open leubedane opened 12 months ago

leubedane commented 12 months ago

Currently if we finish all group matches for player. The player has won his games and is still active. But he has no more open games. So the current algorithm says he has no more disciplines and the color code is not right.

Example: A player has a group of three. So he has two matches. If he win both matches, he is in the KO round. But the problem is he has no open matches, therefore for the current algorithm, he is not in the tournament and loose his color.