OSDN Git Service

[shogi-server] [mk_game_results] Change schema to add number of moves
[shogi-server/shogi-server.git] / shogi_server / game_result.rb
index 27902b9..15542de 100644 (file)
@@ -52,7 +52,8 @@ class LoggingObserver
            black_name,
            white_name,
            game_result.white_result,
-           game_result.game.logfile]
+           game_result.game.logfile,
+          game_result.game.board.move_count]
     begin
       # Note that this is proccessed in the gian lock.
       File.open(@logfile, "a") do |f|