Class: TicTacToe
- Inherits:
-
Object
- Object
- TicTacToe
- Defined in:
- lib/tictactoe.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/tictactoe.rb', line 4 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 |