Sha256: 79ebc44b3b00b6511d7172a0f3555a9b7d36b605d7f5bd5f0d2c64bcc4e2f75c
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
require_relative 'squares_factory' module TTT class BoardBuilder def generate_empty_board(config) number_of_rows_cols = config.number_of_rows_cols Board.new(rows_and_cols: number_of_rows_cols, squares: SquaresFactory.build_empty_squares(number_of_rows_cols) ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
games_bfox-0.3.0 | lib/games/tictactoe/board_builder.rb |
games_bfox-0.2.0 | lib/games/tictactoe/board_builder.rb |