]> git.xonotic.org Git - xonotic/xonstat.git/commit - xonstat/__init__.py
Add a JSON Elo view to support autobalance.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 11 Dec 2012 22:28:02 +0000 (17:28 -0500)
committerJan Behrens <zykure@web.de>
Sun, 23 Dec 2012 14:18:35 +0000 (15:18 +0100)
commite7c433bd5c1699b64500ee1e273141bd06cba10e
tree3bcf202e206eef67fb4169e5f6ec03915ae61d77
parent56bb9531b247d272e516b5d21493ebc8b8f0f812
Add a JSON Elo view to support autobalance.

The view at /elo/<hashkey> will send just Elo info about a player.
This is to facilitate a possible autobalance feature where the
Xonotic server will request Elo values for all of the
players entering the game, then use it (among other things) to
figure out who needs to be switched to make the teams right.
xonstat/__init__.py
xonstat/views/__init__.py
xonstat/views/player.py