You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Games are generated using Go rand.Shuffle, but creating games this way results in many identical games which is not optimal. Games should instead be created by finding all possible combinations of the available players.
The new "shuffle" method should have signature like:
func GameCombinations(players []*model.TournamentPlayer, tables []*model.TournamentTable) []*model.Game {
var games []*model.Game
...
return games
}
The text was updated successfully, but these errors were encountered:
Games are generated using Go rand.Shuffle, but creating games this way results in many identical games which is not optimal. Games should instead be created by finding all possible combinations of the available players.
The new "shuffle" method should have signature like:
The text was updated successfully, but these errors were encountered: