Jigsaw Twodoku

For fans of Killer Sudoku, Samurai Sudoku and other variants

Re: Jigsaw Twodoku

Postby Hajime » Fri Dec 04, 2020 2:35 pm

1to9only wrote:This can be explained by the fact that JigsawExplainer uses the original SE solving techinques, and Hajime's SiSeSuSo.exe has implemented other solving techniques.

But independent of solving methods there is only 1 solution for a good puzzle
User avatar
Hajime
 
Posts: 1385
Joined: 20 April 2018
Location: Fryslân

Re: Jigsaw Twodoku

Postby urhegyi » Fri Dec 04, 2020 3:11 pm

Hajime wrote:
1to9only wrote:This can be explained by the fact that JigsawExplainer uses the original SE solving techinques, and Hajime's SiSeSuSo.exe has implemented other solving techniques.

But independent of solving methods there is only 1 solution for a good puzzle

I posted my 5 solutions; It took a while to be complete and check them all. But I think they are correct.
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby Hajime » Fri Dec 04, 2020 3:12 pm

urhegyi wrote:In total 5 solutions

Look like a bug at my side.
I will look into this, but after the weekend...
User avatar
Hajime
 
Posts: 1385
Joined: 20 April 2018
Location: Fryslân

Re: Jigsaw Twodoku

Postby 1to9only » Fri Dec 04, 2020 3:42 pm

14-clues, Medium:
Code: Select all
..1..4.........7.8...5....3........7.....9.2.3.........4..7......5.......8....... ED=3.6/1.2/1.2
.......7.......3......5..6.........5.6.8.....3........9....8...4.3.........6..4.. ED=3.4/1.5/1.5

This is the last twodoku I post, as I go work on making the tools I developed more generic, for other solution grids, jigsaws, overlaps...
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 11:41 am

I finished a first prototype of a generator/solver for overlapping jigsaw sudokus this night. This is the hardest example it can generate at this moment. Can you rate this please and check it?

grid1:
Code: Select all
......56....194..7.8...1.............5..6..9..3.....186...................1.5.... 111112222113122244333155224633555554633355444667777744668777999668788999688888999

grid2:
Code: Select all
....1...........64.......2......2...9........3...7..4....4..6.9.7.............18. 999888886999887866999777866447777766444553336455555336422551333442221311222211111
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby 1to9only » Sat Dec 05, 2020 12:52 pm

urhegyi wrote:I finished a first prototype of a generator/solver for overlapping jigsaw sudokus this night. This is the hardest example it can generate at this moment. Can you rate this please and check it?

Code: Select all
......56....194..7.8...1.............5..6..9..3.....186...................1.5.... ED=2.9/1.2/1.2
....1...........64.......2......2...9........3...7..4....4..6.9.7.............18. ED=2.8/1.2/1.2

Nice going! In general, you'll have to generate a number of these, rate/review them (e.g. techniques needed, solving path, ...) to pick out an interesting one for publishing! I have added 'Options' to rotate jigsaw left/right by 90 degrees, and I'll try to get the twodoku rating stuff into another pre-release sometime next week.

I've also generated a number of grid 1 and grid 2 solutions, from which I pick 2 to generate a twodoku. Samples are below (note: I'm using another set of solutions!). If you randomly pick a grid 1 and a grid 2 - you'll need to renumber grid 1 block 9 or grid 2 block 1 to match before using ...

ATTACHMENTS
twodoku.grid1.solutions.zip (39,679 bytes)
twodoku.grid2.solutions.zip (39,663 bytes)
Last edited by 1to9only on Wed Feb 24, 2021 9:35 pm, edited 1 time in total.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 1:36 pm

A symmetrical example with two completely empty blocks!
grid1:
2empty-01.png
2empty-01.png (21.62 KiB) Viewed 798 times

Code: Select all
.4.2.35.1.......5.98...12..8.6....34..7....9.2........6........5.4.........95.... 111112222113122244333155224633555554633355444667777744668777999668788999688888999

grid2:
2empty-02.png
2empty-02.png (21.12 KiB) Viewed 798 times

Code: Select all
....16.........7.4........7........3.6....5..39....2.5..84...19.7.......4.27.9.8. 999888886999887866999777866447777766444553336455555336422551333442221311222211111
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 2:13 pm

Any ideas how to generate a colored picture of the whole twodoku, eventually with updated pencilmarks in the overlapping area in HTML?
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby 1to9only » Sat Dec 05, 2020 2:41 pm

urhegyi wrote:Any ideas how to generate a colored picture of the whole twodoku, eventually with updated pencilmarks in the overlapping area in HTML?

Quck answer: I dont know.
But if you want to know how I would go about doing this:
I'll take a look at https://www.sudokuwiki.org/jigsaw.htm - it displays one jigsaw only,
but you can 'borrow' html elements from the web page to make up your twodoku. ;)
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 2:52 pm

This is from a modified template in word:
Code: Select all
+-------------------+---------------+
| .   4   .   2   . | 3   5   .   1 |
|       +---+   +---+       +-------+
| .   . | . | . | .   .   . | 5   . |
+-------+   |   +-------+   +---+   |
| 9   8   . | . | .   1 | 2   . | . |
+---+       +---+       +-------+   |
| 8 | .   6 | .   .   .   .   3 | 4 |
|   |       +---+       +-------+   |
| . | .   7   . | .   . | .   9   . |
|   +---+-------+-------+---+       |
| 2   . | .   .   .   .   . | .   . |
|       +---+           +---+-------+-------------------+---+
| 6   . | . | .   .   . | .   .   . | .   1   6   .   . | . |
|       |   |   +-------+           |       +---+   +---+   |
| 5   . | 4 | . | .   . | .   .   . | .   . | . | 7 | .   4 |
|   +---+   +---+       |           +-------+   |   |       |
| . | .   .   9   5   . | .   .   . | .   .   . | . | .   7 |
+---+-------------------+-------+---+           +---+       |
                        | .   . | .   .   .   .   . | .   3 |
                        |       +---+-------+-------+---+   |
                        | .   6   . | .   . | .   5   . | . |
                        |   +-------+       +---+       |   |
                        | 3 | 9   .   .   .   . | 2   . | 5 |
                        |   +-------+       +---+       +---+
                        | . | .   8 | 4   . | . | .   1   9 |
                        |   +---+   +-------+   |   +-------+
                        | .   7 | .   .   . | . | . | .   . |
                        +-------+       +---+   +---+       |
                        | 4   .   2   7 | .   9   .   8   . |
                        +---------------+-------------------+
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 3:34 pm

The same converted to JPG
Last edited by urhegyi on Wed Dec 16, 2020 12:16 am, edited 1 time in total.
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby 1to9only » Sat Dec 05, 2020 4:08 pm

Another Quick&Easy solution would be to use the smaller jigsaw images (without or with the correct pencilmarks).
I've used this method to put up 2 jigsaws side-by-side in previous posts.

'Variation', and uncheck 'Bigger Cells', and restart Explainer to save the two jigsaw images.
Use Paint, or something else to superimpose one image over the other.
The cell size (smaller pic) is 45 pixels, the single jigsaw image is 409x409, so the twodoku canvas required is 679x679.
Place grid 1 first, then grid 2 - the fiddly bits is to correctly line up the ovelapped region.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: Jigsaw Twodoku

Postby Hajime » Sat Dec 05, 2020 5:23 pm

urhegyi wrote:Any ideas how to generate a colored picture of the whole twodoku, eventually with updated pencilmarks in the overlapping area in HTML?

Use SiSeSuSo.exe to show any overlapping Gattai, also jigsaw pieces in any color you want. With candidates below each cell or in telephone style in HTML. See https://sites.google.com/site/sisesuso/sisesuso_exe for download a zip. For generating.... wait until mid next week. Have to find a bug first :o
A TwoDoku is a Sensei-1 Gattai.
User avatar
Hajime
 
Posts: 1385
Joined: 20 April 2018
Location: Fryslân

Re: Jigsaw Twodoku

Postby urhegyi » Sat Dec 05, 2020 11:46 pm

I thought is wasn't possible to generate hard examples with the original grids. The hard work seems to yield their fruits: finally I found this!
I'm very curious to the hardness rating of the total twodoku. I know the first grid is valid and solvable with a rating 4.2!
grid1:
Code: Select all
......5...6.1.....9...41.7...........57...3.2........8.98...............4...5.... 111112222113122244333155224633555554633355444667777744668777999668788999688888999

grid2:
Code: Select all
..............37................2...9........3...71...............9.4...4.2....86 999888886999887866999777866447777766444553336455555336422551333442221311222211111
urhegyi
 
Posts: 755
Joined: 13 April 2020

Re: Jigsaw Twodoku

Postby urhegyi » Sun Dec 06, 2020 12:15 am

Because the first grid is solvable on it's own, it can be combined with every other second grid from the same solution set with an unique solution!
grid1:
Code: Select all
......5...6.1.....9...41.7...........57...3.2........8.98...............4...5.... 111112222113122244333155224633555554633355444667777744668777999668788999688888999

grid2:
Code: Select all
.....6..8......7.........2...7.......64.2....3........................5......9..6 999888886999887866999777866447777766444553336455555336422551333442221311222211111
urhegyi
 
Posts: 755
Joined: 13 April 2020

PreviousNext

Return to Sudoku variants