class RubyTerminalGames::Sudoku::Board

Public Instance Methods

print_board(game) click to toggle source

Private Instance Methods

corner_cols() click to toggle source
# File lib/ruby_terminal_games/sudoku/board.rb, line 44
def corner_cols
  [
    2, 3, 4, 5, 6, 8,
    9, 10, 11, 12, 14,
    15, 16, 17, 18
  ]
end
middle_columns() click to toggle source
# File lib/ruby_terminal_games/sudoku/board.rb, line 60
def middle_columns
  [
    2, 3, 4,
    6, 7, 8,
    10, 11, 12
  ]
end
middle_rows() click to toggle source
# File lib/ruby_terminal_games/sudoku/board.rb, line 52
def middle_rows
  [
    2, 3, 4, 5, 6,
    8, 9, 10, 11, 12,
    14, 15, 16, 17, 18
  ]
end
print_bottom_border!() click to toggle source
print_bottom_line!() click to toggle source
print_instructions!() click to toggle source
print_middle_borders!() click to toggle source
print_top_border!() click to toggle source