Exemplo n.º 1
0
//main entry function that calls the right
//functions for getting sodoku answer
func (inst *Solutionizer) GetSodokuSolution(board *sodoku.Board) string {

	inst.possibilities = 0

	pass := inst.SetIndicesWithLeastPossibleChoices(board)

	if !pass {
		panic("Can't be solved!")
		return ""
	}

	return board.GetStringFormat()
}