mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 06:51:34 +01:00
implement balance query
This commit is contained in:
@@ -37,6 +37,9 @@ class PlayerInRound(Player):
|
||||
def __str__(self):
|
||||
return "PlayerInRound: N: {} ID: {} Team: {}".format(self.name, self.id, self.team)
|
||||
|
||||
def playerInRoundFromJson(jsonDict):
|
||||
return PlayerInRound(jsonDict["id"], jsonDict["name"], jsonDict["team"], timestamp=dt.datetime.now())
|
||||
|
||||
class PlayerInDatabase(Player):
|
||||
|
||||
def __init__(self, playerId, name, rating, wins, games):
|
||||
|
||||
Reference in New Issue
Block a user