]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Add elo delta tracking.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 20 Jun 2012 14:17:10 +0000 (10:17 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 20 Jun 2012 14:17:10 +0000 (10:17 -0400)
commitc259baac03d45565db88e8215dbb5091511b4273
treea8a40408da5d2bbed857e34d2f2546a6243efc80
parent2b09cc55f5b25f5b08ffcf18a7203284dc6e017d
Add elo delta tracking.

An elo delta is the amount by which a player's elo goes up
or down per match. This is useful for tracking purposes
and competitions.

The decimal formatting here is a bit hacky, and I don't like it,
but Mako refuses to do a proper format string on a decimal.Decimal.
This is even thought on the interactive command line it works! Argh.
xonstat/models.py
xonstat/templates/scoreboard.mako
xonstat/views/game.py