2 Commits

Author SHA1 Message Date
d4beaec8a8 Merge pull request 'fix desezrialize' (#18) from fix into master
All checks were successful
Linux arm64 / Build (push) Successful in 37s
Reviewed-on: #18
2025-01-29 18:29:32 +00:00
a742cace3a fix desezrialize
All checks were successful
Linux arm64 / Build (push) Successful in 25s
2025-01-29 19:28:36 +01:00

View File

@@ -243,6 +243,9 @@ public class SudokuSerializer {
Sudoku s = new Sudoku(sudokuCells, sudokuBlocks, sudokuConstraints);
s.setBlockWidth(sudokuJsonObject.getInt("blockWidth"));
for (Block block : s.getBlocks()) {
block.getSudokus().add(s);
}
sudokus.add(s);
}