/// <summary> /// Diese Methode befüllt die Gruppen mit dem Spielern des Turniers. /// </summary> private void PlacePlayersInGroups() { ShufflePlayers(Players); int counter = 0; while (counter < Players.Count) { foreach (Group group in Groups) { if (counter < Players.Count) { _groupFactory.AddPlayer(group, Players[counter++]); } else { break; } } } }