Dir["./lib/tictactoe/*.rb"].each {|file| require file } class TicTacToe io = TTT::IOTerminal.new board_presenter = TTT::BoardPresenterTerminal.new game = TTT::Game.new(io: io, board_presenter: board_presenter) game.play end