Skip to content

Commit

Permalink
Function description find_best_game
Browse files Browse the repository at this point in the history
  • Loading branch information
alocate committed Feb 10, 2021
1 parent 64141da commit bf52aa2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions teambalance/balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,10 @@ def find_best_game(self, ratings, rds, game_mode, team_constraints):
"""Finds the most balanced game.
Args:
ratings: TODO
rds: TODO
ratings_game: ratings of players in the potential game, ordered by team
rds: rating deviations of players in the potential game, ordered by team
game_mode (str): Game mode in the form "PvPvP" or "PonPonP" (e.g. "3v3v3v3").
team_constraints (str): A string in the form "T1+T2+T3+T4" (e.g. 1+1+2+1) that
team_constraints (str): A string in the form "T1+T2+T3+T4" (e.g. 1+1+2+1) that entails the AT constraints.
Returns:
a list with the index of the team each player should be put on
"""
Expand Down

0 comments on commit bf52aa2

Please sign in to comment.