lib/games/tictactoe/board_builder.rb in games_bfox-0.4.0 vs lib/games/tictactoe/board_builder.rb in games_bfox-0.6.0
- old
+ new
@@ -1,6 +1,6 @@
-require_relative 'board'
-require_relative 'squares_factory'
+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) )