fix time chart

This commit is contained in:
Thibault Duplessis 2013-05-19 01:24:15 -03:00
parent 3776e24491
commit de5b7b8cb6
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,7 @@ final class TimeChart(game: Game, usernames: Map[Color, String]) {
def rows = Json stringify {
Json toJson {
(game.player(Color.White).moveTimeList zip game.player(Color.Black).moveTimeList).zipWithIndex map {
case ((white, black), move) Json.arr(move.toString, white, black)
case ((white, black), move) Json.arr((move + 1).toString, white, black)
}
}
}

1
todo
View file

@ -7,7 +7,6 @@ also translate websockets error message
analysis not the fastest checkmate, but no best move? http://en.lichess.org/analyse/w3xw8fsw/black
finish games per day chart
untranslated = https://github.com/ornicar/lila/issues/4 http://en.lichess.org/forum/lichess-feedback/please-make-more-strings-translatable#4
game stats timeline issues http://en.lichess.org/forum/lichess-feedback/move-times
analyse: show main line for every move http://en.lichess.org/forum/lichess-feedback/about-the-analysis-feature#5
try to show last analysis cp on graph (move 26) http://en.lichess.org/analyse/bwxnx0al
elo range must contain player elo