I'm setting up a puzzle generator, and thought I would test whether its output could be pasted into JSudoku.
My test case was this minimal, singles-only SudokuNC (Non-Consecutive) puzzle:
- Code: Select all
...........2......7...61..8...............4.9.....6.2..4....5.21.......7......... # NC
I pasted the puzzle, then set the "Design" option "NC -> Adjacent cells". Then asked for full solve, so far so good, it got this right:
Image (Solved): Show
But it also reported that 15 guesses were required to solve it! Hmmm … can that be right? No way! So I started again and noticed something with the pencil-marks:
Image (Initial State): Show
Aha! It clearly hasn't calculated the initial pencil-marks correctly. No adjacency eliminations at all.
But it's definitely solving in NC mode, it produces the correct result. So is this a bug, or do I need to manually tweak it into resetting the pencil-marks?