Class: Kudo::Solver

Inherits:
Object
  • Object
show all
Defined in:
lib/kudo/solver.rb

Class Method Summary collapse

Class Method Details

.solve(sudoku) ⇒ Object



6
7
8
9
# File 'lib/kudo/solver.rb', line 6

def solve(sudoku)
  empty_cells = Operator.get_empty_cells(sudoku)
  try_solve(sudoku, empty_cells)
end