feat : création MultiDoku à résoudre
All checks were successful
Linux arm64 / Build (push) Successful in 1m7s

This commit is contained in:
Melvyn
2025-01-29 10:21:26 +01:00
parent cd45d1c22c
commit 7c06fe2e31
2 changed files with 48 additions and 6 deletions

View File

@@ -190,5 +190,13 @@ public class MultiDoku {
Cell cellToEmpty = cells.get(cells.indexOf(cell));
cellToEmpty.setSymbolIndex(Cell.NOSYMBOL);
}
public int getNbCells() {
int result = 0;
for (Sudoku sudoku : this.subGrids) {
result += sudoku.getCells().size();
}
return result;
}
}