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.
Files changed (2) hide show
  1. data/lib/game_setup.rb +2 -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_ttt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: