From 3c9e65851747936adf6cb8087d3f6e9708241413 Mon Sep 17 00:00:00 2001 From: daigo Date: Sat, 18 Sep 2010 11:18:38 +0900 Subject: [PATCH] Refactoring: Changed the name of a constant. --- shogi_server/board.rb | 2 +- shogi_server/game.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shogi_server/board.rb b/shogi_server/board.rb index be22ef1..ca12959 100644 --- a/shogi_server/board.rb +++ b/shogi_server/board.rb @@ -28,7 +28,7 @@ class Board # Initial board setup. # The string ends with '+', not a line break. # - INITIAL_POSITION = (<<-EOF).chomp + INITIAL_HIRATE_POSITION = (<<-EOF).chomp P1-KY-KE-GI-KI-OU-KI-GI-KE-KY P2 * -HI * * * * * -KA * P3-FU-FU-FU-FU-FU-FU-FU-FU-FU diff --git a/shogi_server/game.rb b/shogi_server/game.rb index 232eac4..f8c20fb 100644 --- a/shogi_server/game.rb +++ b/shogi_server/game.rb @@ -402,7 +402,7 @@ Byoyomi:#{@byoyomi} Least_Time_Per_Move:#{Least_Time_Per_Move} END Time BEGIN Position -#{Board::INITIAL_POSITION} +#{Board::INITIAL_HIRATE_POSITION} #{@board.initial_moves.collect {|m| m + ",T1"}.join("\n")} END Position END Game_Summary -- 2.11.0