enxio27 wrote:
I know SudokuSolver can't handle the second of these because it's a jigsaw gattai, but what about the first one? Can JSudoku handle one or both?
Yep, JSudoku can "handle" both.
For the top one, both subgrids have a unique solution on their own. You can just plug the following 2 grids one by one into JSudoku then add the diagonals, and start solving:
Code:
.6..7..3.
3..58...4
.....9...
.5....8..
74.....56
..3....7.
...7.....
4...68...
.2..5....
....3..5.
...72...8
.....6...
.9....7..
54.....32
..6....1.
...4.....
3...75..4
.5..9..7.
That said, the 1st one is diabolically hard to solve (probably requiring chains), while the 2nd one is substantially easier. So the sensible way to crack it is to solve the 2nd grid first, then plug in its r123c123 as r789c789 of the 1st grid.
As for the bottom puzzle, the story is different. Both of them have multiple solutions on their own and you need to transfer back and forth the common cell values between two 9x9 JSudoku windows. However the difficulty is relatively simple (just singles, subsets, intersections required).
To save you time, I'll provide some data for you to copy & paste:
To play the 1st grid, open a new grid of "9x9 Latin Square", then copy & paste the following pencilmark grid:
Code:
1346789 5 123478 1234789 1246789 1234678 12346789 12346789 134789
1346789 13678 13478 1478 146789 5 1346789 134789 2
1346789 123678 123478 12478 124678 1234678 134789 5 134789
178 1278 9 124578 3 12478 12478 1478 6
13678 9 12478 12478 12478 123478 5 1234678 13478
5 12378 12378 6 124789 123478 123478 123478 13478
13678 4 13578 123789 12789 123678 1368 13689 13589
13678 1378 134578 134578 1245678 9 123678 123678 1358
2 1378 6 1345789 145789 13478 1378 13478 13458
And then copy the following code to "Paste as Jigsaw Template":
Same deal for the 2nd grid:
Code:
1368 13689 13589 13589 134689 1345689 2 13456 7
123678 123678 1358 4 1236789 135689 35689 1356 1235
1378 13478 13458 123578 13468 134568 34568 9 12345
13578 13789 13589 135789 13489 2 3457 1345 6
1236 12369 7 1359 13469 3469 3469 8 12345
9 23678 3468 38 5 34678 1 2346 234
123678 5 12368 123789 2346789 346789 34689 12346 123489
4 12378 123589 6 123789 3789 3589 1235 123589
12368 123489 1234589 123589 123489 134589 345689 7 1234589