ruby_ttt 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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)
|