jigsaw as custom extra regions sudoku

For fans of Killer Sudoku, Samurai Sudoku and other variants

jigsaw as custom extra regions sudoku

Postby urhegyi » Tue Oct 19, 2021 7:17 pm

As described by 1to9only in an other post a jigsaw(JS) can be viewed as latin square with 9 extra regions and a JSB as a sudoku with 9 extra regions.
To test this I generated one with JigsawSudokuExplainer, but can't import it in SudokuExplainer because extra regions are touching.
If 1to9only can manage to import it in his later private version that also supports w-wing, can he check that it solves with w-wing as hardest step?
I solved it by hand but also used the law of leftovers, but suppose that it also can be solved as described before. Can the solvepath confirm this?
Image
Code: Select all
4.......7.........15......4..3...7..9.1...8.6..8...4..2.......8.........7.......9 112233333111214443211254443222254443615555573688859999688859779688879777666669977

Code: Select all
43265...78...14..315..23..4543.6.7.2921475836678...4..2.......83...8....78514.3.9 112233333111214443211254443222254443615555573688859999688859779688879777666669977

The Jigsaw is solved so far it can be treated as a normal sudoku now
Try to check it now with a Sudokumonster build of SudokuExplainer also not knowing the w-wing technique:
replaced w-wing by larger VWXYZ-wings.
Code: Select all
Analysis results
Difficulty rating: 6,4 (VWXYZ-Wing 1310)
This Sudoku can be solved using the following logical methods:
 36 x Hidden Single
 3 x Pointing
 2 x Hidden Pair
 1 x Naked Triplet
 1 x XY-Wing
 1 x WXYZ-Wing 137
 1 x VWXYZ-Wing 1310
 The most difficult technique (ER): VWXYZ-Wing 1310

Image
Code: Select all
W-Wing: 2/5 in r2c7,r8c4 connected by 5 in r7c47 => r8c7<>2
urhegyi
 
Posts: 748
Joined: 13 April 2020

Re: jigsaw as custom extra regions sudoku

Postby 1to9only » Tue Oct 19, 2021 8:17 pm

This is my SJE with WWing, the hardest technique is indeed W-Wing, thus rating JSB as ED=4.1/1.2/1.2
Image
Solution path for partially solved grid: Show
Code: Select all
1: 2.6, Pointing: Cells R4C8,R6C8: 9 in block and column: r3c8<>9, r1c8<>9, r2c8<>9
2: 2.6, Pointing: Cells R2C4,R3C4,R4C4: 9 in cage and column: r7c4<>9, r6c4<>9, r8c4<>9
3: 3.4, Hidden Pair: Cells R2C7,R2C8: 2,5 in block: r2c7<>6,9, r2c8<>6
4: 2.6, Pointing: Cells R3C7,R3C8: 6 in block and row: r3c3<>6
5: 3.4, Hidden Pair: Cells R7C8,R8C8: 4,7 in block: r7c8<>1,5,6, r8c8<>1,2,5,6
6: 4.1, W-Wing: Cells R2C7,R7C7,R7C4,R8C4: 2 and 5: r8c7<>2
7: 1.2, Hidden Single: R9C8: 2 in block: r9c8=2
8: 1.0, Hidden Single: R9C6: 6 in row: r9c6=6
9: 1.2, Hidden Single: R2C7: 2 in block: r2c7=2
10: 1.2, Hidden Single: R2C8: 5 in block: r2c8=5
11: 1.2, Hidden Single: R6C9: 5 in block: r6c9=5
12: 1.0, Hidden Single: R8C9: 1 in column: r8c9=1
13: 1.2, Hidden Single: R7C2: 1 in block: r7c2=1
14: 1.5, Hidden Single: R1C7: 1 in column: r1c7=1
15: 1.2, Hidden Single: R3C7: 9 in block: r3c7=9
16: 1.2, Hidden Single: R3C8: 6 in block: r3c8=6
17: 1.0, Hidden Single: R1C8: 8 in block: r1c8=8
18: 1.0, Hidden Single: R1C6: 9 in cage: r1c6=9
19: 1.2, Hidden Single: R3C4: 8 in block: r3c4=8
20: 1.0, Hidden Single: R2C4: 7 in block: r2c4=7
21: 1.0, Hidden Single: R4C4: 9 in cage: r4c4=9
22: 1.0, Hidden Single: R3C3: 7 in row: r3c3=7
23: 1.2, Hidden Single: R4C6: 8 in block: r4c6=8
24: 1.0, Hidden Single: R4C8: 1 in cage: r4c8=1
25: 1.0, Hidden Single: R6C8: 9 in block: r6c8=9
26: 1.2, Hidden Single: R6C6: 1 in block: r6c6=1
27: 1.2, Hidden Single: R6C4: 2 in block: r6c4=2
28: 1.0, Hidden Single: R6C5: 3 in block: r6c5=3
29: 1.0, Hidden Single: R7C5: 9 in cage: r7c5=9
30: 1.2, Hidden Single: R8C6: 2 in block: r8c6=2
31: 1.0, Hidden Single: R7C6: 7 in cage: r7c6=7
32: 1.2, Hidden Single: R7C4: 3 in block: r7c4=3
33: 1.0, Hidden Single: R8C4: 5 in block: r8c4=5
34: 1.2, Hidden Single: R7C7: 5 in block: r7c7=5
35: 1.0, Hidden Single: R8C7: 6 in column: r8c7=6
36: 1.2, Hidden Single: R7C3: 6 in block: r7c3=6
37: 1.0, Hidden Single: R7C8: 4 in row: r7c8=4
38: 1.0, Hidden Single: R8C8: 7 in block: r8c8=7
39: 1.2, Hidden Single: R2C2: 6 in block: r2c2=6
40: 1.0, Hidden Single: R2C3: 9 in block: r2c3=9
41: 1.0, Hidden Single: R8C2: 9 in column: r8c2=9
42: 1.0, Hidden Single: R8C3: 4 in block: r8c3=4
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: jigsaw as custom extra regions sudoku

Postby 1to9only » Tue Oct 19, 2021 8:31 pm

urhegyi wrote:As described by 1to9only in an other post a jigsaw(JS) can be viewed as latin square with 9 extra regions and a JSB as a sudoku with 9 extra regions.
To test this I generated one with JigsawSudokuExplainer, but can't import it in SudokuExplainer because extra regions are touching.

As mentioned before, it's a kludge:
- Start GUI. Set a Custom extra regions sudoku.Exit GUI.
- Modify the json file to paste the jigsaw layout, and set the number of regions to 9:
Code: Select all
"isCustom":"true",
"custom":"112233333111214443211254443222254443615555573688859999688859779688879777666669977",
"count":"9",

- The GUI is not really usable, at it's all one color!
- Command-line serate should work, with the right options specified.
- The SE/SJE ratings will be different! Hidden single in jigsaw = 1.2, in extra region = 1.5
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: jigsaw as custom extra regions sudoku

Postby urhegyi » Tue Oct 19, 2021 9:18 pm

It's a workround but it permits now to generate and rate JSW
Code: Select all
.7.........64..73....5.............1...3..4..5.......2..7..9..................... 112233333111214443211254443222254443615555573688859999688859779688879777666669977

and even JSWX
Code: Select all
.....9.....2.9.........4.8.3.5.......7.....1.......9.3.6.3.........6.3.....8..... 112233333111214443211254443222254443615555573688859999688859779688879777666669977
urhegyi
 
Posts: 748
Joined: 13 April 2020

Re: jigsaw as custom extra regions sudoku

Postby 1to9only » Tue Oct 19, 2021 10:49 pm

1to9only wrote:
Code: Select all
"custom":"112233333111214443211254443222254443615555573688859999688859779688879777666669977",


Currently, the extra regions MUST be numbered 1-9. The next SE will also allow A-I.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: jigsaw as custom extra regions sudoku

Postby urhegyi » Wed Oct 20, 2021 10:37 am

1to9only wrote: The SE/SJE ratings will be different!
I first generated a JSBX with SE(unique rectangle solving technique disabled).
Then rated it with SJE.
What a differance:
SE:
Hidden Text: Show
Image

SJE:
Hidden Text: Show
Image

Code: Select all
..............9..7....1...................5......................3.2.84.......... 112233333111214443211254443222254443615555573688859999688859779688879777666669977
Last edited by urhegyi on Wed Oct 20, 2021 12:36 pm, edited 1 time in total.
urhegyi
 
Posts: 748
Joined: 13 April 2020

Re: jigsaw as custom extra regions sudoku

Postby 1to9only » Wed Oct 20, 2021 12:34 pm

As a quick fix, I've done an SE Pre-release (2021.10.20), to colorize custom sudokus that have 9 extra regions, they're given the DG colors! It's an improvement!
Image

For custom extra regions, some variants are not selectable - I might consider changing some...

Additional kludge: For JSBW and JSBWX, after setting the 9 extra regions as mentioned earlier, also set Windoku - this seems to work!!
Code: Select all
"isWindoku":"true",

For JSW, set "isLatinSquare":"true", - this seems to work also!!!

Also: the custom rotation options are removed, instead use the sudoku rotation options.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018


Return to Sudoku variants