shogi-server source
Revision | a9fd6e67bbc8dbd9316ef904515d91d11765f370 (tree) |
---|---|
Zeit | 2017-09-02 21:55:25 |
Autor | Daigo Moriwaki <daigo@debi...> |
Commiter | Daigo Moriwaki |
Modify mk_rate to follow the change in mk_game_results
@@ -5,7 +5,7 @@ | ||
5 | 5 | "%SENNICHITE" are now recorded in CSA files when a game ends for |
6 | 6 | timed up or sennichite respectively. |
7 | 7 | (Closes #37490) |
8 | - * [shogi-server] [mk_game_results] Change schema to add number of | |
8 | + * [shogi-server, mk_game_results, mk_rate] Change schema to add number of | |
9 | 9 | moves The format of an internal game result summary file, '00LIST', |
10 | 10 | has been changed to add number of moves of a game, which would be of |
11 | 11 | help for a script calculating rating scores. |
@@ -672,7 +672,7 @@ def parse(line) | ||
672 | 672 | end |
673 | 673 | $history.add line |
674 | 674 | |
675 | - time, state, black_mark, black_id, white_id, white_mark, file = line.split("\t") | |
675 | + time, state, black_mark, black_id, white_id, white_mark, file, moves = line.split("\t") | |
676 | 676 | unless time && state && black_mark && black_id && |
677 | 677 | white_id && white_mark && file |
678 | 678 | $stderr.puts "Failed to parse the line : #{line}" |