Sha256: b885ecd5aaa1d732ca3279f3253291bc086b82d2a532fa2735e5e1ff46a6280d

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

require_relative '../tictactoe/player'

module TTT
  class ComputerPlayerNovice < TTT::Player
    def make_move(game)
      game.computer_choosing_graphic
      game.available_choices.sample
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
games_bfox-0.4.0 lib/games/tictactoe/computer_player_novice.rb