This commit is contained in:
@@ -18,6 +18,25 @@ public class SudokuView extends BaseView {
|
||||
super(stateMachine);
|
||||
this.doku = doku;
|
||||
this.sudokuRenderer = new SudokuRenderer(doku);
|
||||
// int level = 0;
|
||||
// for (Sudoku sudoku : this.doku.getSubGrids()) {
|
||||
// level += sudoku.getSize() * sudoku.getSize() / 10;
|
||||
// }
|
||||
// try {
|
||||
// Solver.solve(doku);
|
||||
// SudokuFactory.newDokuFromFilledOne(doku, level);
|
||||
// for (Sudoku sudoku : this.doku.getSubGrids()) {
|
||||
// for (Cell cell : sudoku.getCells()) {
|
||||
// if (cell.getSymbolIndex() != Cell.NOSYMBOL) {
|
||||
// cell.setImmutable();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// } catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
// System.out.println("non ça n'arrivera pas");
|
||||
// //TODO: ça va arriver
|
||||
// }
|
||||
}
|
||||
|
||||
private void stopResolve() {
|
||||
|
||||
Reference in New Issue
Block a user