Sha256: eb3b090c37865c84cba05193167f49276078009a6ea148f0155d62bf076818a2

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

require File.join('games', '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.6.0 lib/games/tictactoe/human_player.rb