OSDN Git Service

Remove a debug message
authorDaigo Moriwaki <daigo@debian.org>
Sat, 26 Nov 2016 10:03:49 +0000 (19:03 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Sat, 26 Nov 2016 10:03:49 +0000 (19:03 +0900)
changelog
shogi_server/game.rb

index 03d8ff5..484910f 100644 (file)
--- a/changelog
+++ b/changelog
@@ -14,6 +14,8 @@
          - Running a local shogi-server would look like
              % docker pull shogiserver/shogiserver
              % docker run -p 4081:4081 -v `pwd`/logs:/logs shogiserver/shogiserver
          - Running a local shogi-server would look like
              % docker pull shogiserver/shogiserver
              % docker run -p 4081:4081 -v `pwd`/logs:/logs shogiserver/shogiserver
+       * [shogi-server] shogi_server/game.rb:
+         - Remove a debug message
 
 2016-04-09  Daigo Moriwaki <daigo at debian dot org>
 
 
 2016-04-09  Daigo Moriwaki <daigo at debian dot org>
 
index cd7c41a..9bcecfb 100644 (file)
@@ -267,8 +267,6 @@ class Game
       return false            # time isn't expired. players aren't swapped. continue game
     else
       t = @time_clock.process_time(@current_player, @start_time, @end_time)
       return false            # time isn't expired. players aren't swapped. continue game
     else
       t = @time_clock.process_time(@current_player, @start_time, @end_time)
-      log_info(sprintf("+++ DEBUG %s consumed %d sec. remain %d sec",
-                @current_player.name, t, @current_player.mytime))
       move_status = @board.handle_one_move(str, @sente == @current_player)
       # log_debug("move_status: %s for %s's %s" % [move_status, @sente == @current_player ? "BLACK" : "WHITE", str])
 
       move_status = @board.handle_one_move(str, @sente == @current_player)
       # log_debug("move_status: %s for %s's %s" % [move_status, @sente == @current_player ? "BLACK" : "WHITE", str])