• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revisiona9fd6e67bbc8dbd9316ef904515d91d11765f370 (tree)
Time2017-09-02 21:55:25
AuthorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Log Message

Modify mk_rate to follow the change in mk_game_results

Change Summary

Incremental Difference

--- a/changelog
+++ b/changelog
@@ -5,7 +5,7 @@
55 "%SENNICHITE" are now recorded in CSA files when a game ends for
66 timed up or sennichite respectively.
77 (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
99 moves The format of an internal game result summary file, '00LIST',
1010 has been changed to add number of moves of a game, which would be of
1111 help for a script calculating rating scores.
--- a/mk_rate
+++ b/mk_rate
@@ -672,7 +672,7 @@ def parse(line)
672672 end
673673 $history.add line
674674
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")
676676 unless time && state && black_mark && black_id &&
677677 white_id && white_mark && file
678678 $stderr.puts "Failed to parse the line : #{line}"