Skip to content

Commit

Permalink
Fix board validation... whoops!
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSunCat committed Oct 13, 2022
1 parent d7108d0 commit 18d0c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class _SudokuGameState extends State<SudokuGame> with TickerProviderStateMixin {
for (int x = 0; x < 9; x++) {
for (int y = 0; y < 9; y++) {
Position pos = Position(x, y);
Cell cell = _puzzle![x][y];
Cell cell = _puzzle![y][x];
if (cell.value != 0 &&
!cell.prefill) {

Expand Down

0 comments on commit 18d0c3c

Please sign in to comment.