mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-07 07:11:36 +01:00
implment collection of historical data
This commit is contained in:
@@ -141,5 +141,6 @@ def evaluateRound(matchRound):
|
||||
for playerInDatabase in losersRated.keys():
|
||||
playerInDatabase.rating = losersRated[playerInDatabase]
|
||||
|
||||
db.saveMultiplePlayersToDatabase(winnersRated.keys(), incrementWins=1)
|
||||
db.saveMultiplePlayersToDatabase(losersRated.keys())
|
||||
db.saveMultiplePlayersToDatabase(winnersRated.keys(), incrementWins=1,
|
||||
timestamp=matchRound.start)
|
||||
db.saveMultiplePlayersToDatabase(losersRated.keys(), timestamp=matchRound.start)
|
||||
|
||||
Reference in New Issue
Block a user