mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 14:51:36 +01:00
implement round->sql support
This commit is contained in:
@@ -122,6 +122,8 @@ def eventBlob():
|
||||
def evaluateRound(matchRound):
|
||||
'''Run a match round throught the backand (includeing persisting it'''
|
||||
|
||||
db.saveRound(matchRound)
|
||||
|
||||
# winners/losers are both dictionaries in the form of { PlayerInDatabase : newRating } #
|
||||
winnersRated, losersRated = ts.evaluateRound(matchRound)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user