Sha256: 2270a9345969eb59fcdd0d56644214d0ab40e113222c276192ba08b61532fd18

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require File.join('games', 'tictactoe', 'board')
require File.join('games', 'tictactoe', 'squares_factory')

module TTT
  class BoardBuilder
    def generate_empty_board(number_of_rows_cols)
      Board.new(squares: SquaresFactory.build_empty_squares(number_of_rows_cols) )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
games_bfox-0.6.0 lib/games/tictactoe/board_builder.rb