This commit is contained in:
@@ -32,6 +32,11 @@ public class Solver {
|
||||
int symbol = currentCell.getPossibleSymbols().get(0);
|
||||
currentCell.setSymbolIndex(symbol);
|
||||
stack.push(currentCell);
|
||||
try {
|
||||
doku.updateSymbolsPossibilities();
|
||||
} catch (Exception e) {
|
||||
//TODO rollback
|
||||
}
|
||||
//TODO check constraints integrity in sudoku
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user