ruby_ttt 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/game_setup.rb +2 -2
- metadata +1 -1
data/lib/game_setup.rb
CHANGED
@@ -97,8 +97,8 @@ class WebGameSetup < GameSetup
|
|
97
97
|
PlayerFactory.new(player_one_type, player_two_type)
|
98
98
|
end
|
99
99
|
|
100
|
-
def get_first_move_player
|
101
|
-
|
100
|
+
def get_first_move_player(player_one_type, player_two_type)
|
101
|
+
PlayerFactory.new(player_one_type, player_two_type).player_goes_first
|
102
102
|
end
|
103
103
|
|
104
104
|
def get_board(board_size, current_board)
|