Sha256: 02e0c9de619798a9d4f1c4c7d636f71f8f2efb8c3e7ae6e9171607ea28ec0957

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

require_relative '../tictactoe/player'

module TTT
  class HumanPlayer < TTT::Player
    def make_move(game)
      game.get_player_choice(game.current_player_name, game.available_choices)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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