From 7b931a669e609272006d0fbd111efb49c699025e Mon Sep 17 00:00:00 2001 From: beatles Date: Sat, 9 Aug 2008 15:31:55 +0000 Subject: [PATCH] Added a new accessor: Board#teban --- shogi_server/board.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shogi_server/board.rb b/shogi_server/board.rb index 7a1c91e..613ac79 100644 --- a/shogi_server/board.rb +++ b/shogi_server/board.rb @@ -30,7 +30,7 @@ class Board @move_count = 0 @teban = nil # black => true, white => false end - attr_accessor :array, :sente_hands, :gote_hands, :history, :sente_history, :gote_history + attr_accessor :array, :sente_hands, :gote_hands, :history, :sente_history, :gote_history, :teban attr_reader :move_count def initial -- 2.11.0