fix merge
All checks were successful
Linux arm64 / Build (push) Successful in 43s

This commit is contained in:
2025-01-21 18:47:09 +01:00
parent 1594961613
commit 780c88d0da
5 changed files with 14 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ public class SudokuPrinter {
}
String line = "[ ";
for (int x = 0; x < s.getSize(); x++) {
line += (s.getCell(x, y).getSymboleIndex() + 1) + " ";
line += (s.getCell(x, y).getSymbolIndex() + 1) + " ";
if (x % blockWidth == blockWidth - 1 && x != blockWidth * blockHeight - 1) {
line += "| ";
}

View File

@@ -43,7 +43,7 @@ public class SudokuSerializer {
}
int blockID = blockIds.indexOf(block);
int symboleIndex = cell.getSymboleIndex();
int symboleIndex = cell.getSymbolIndex();
JSONObject cellJsonObject = new JSONObject();
cellJsonObject.put("blockID", blockID);
@@ -157,7 +157,7 @@ public class SudokuSerializer {
sudokuBlocks.add(blocks.get(blockID));
}
sudokus.add(new Sudoku(sudokuCells, sudokuBlocks));
sudokus.add(new Sudoku(sudokuCells, sudokuBlocks, null));
}
return new MultiDoku(sudokus);