Sha256: 750fac2aea956a2eb8da719ccaff87763dae73e53719f4b543e5074c39402c0c

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

Dir[File.join(File.dirname(__FILE__), 'tictactoe', '*.rb')].each {|file| require file }

class TicTacToe
  def self.run
    io = TTT::IOTerminal.new
    board_presenter = TTT::BoardPresenterTerminal.new

    game = TTT::Game.new(io: io, board_presenter: board_presenter)
    game.play
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tic_tac_toe_bfox-0.3.0 lib/tictactoe.rb