Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrookSolver ¶
func (*CrookSolver) Solve ¶
func (solver *CrookSolver) Solve(sudoku *models.Sudoku) (result bool, errors []error)
SolveWithCrookMethod tries to solve the sudoku puzzle by altering references which soduku model (a parameter) is build with. Returns a boolean flag indicating if solution was found and is correct, and slice of errors. Errors should not be printed to the user, they are actualy an errors.
type ISudokuSolver ¶
func GetNewSudokuSolver ¶
func GetNewSudokuSolver(settings *models.Settings, debugPrinter printer.IPrinter) ISudokuSolver
Click to show internal directories.
Click to hide internal directories.