Puzzle format for jigsaws?

For fans of Killer Sudoku, Samurai Sudoku and other variants

Puzzle format for jigsaws?

Postby enxio27 » Thu Jul 12, 2012 10:17 pm

Has anyone come up with a standard puzzle definition format for jigsaw sudoku (similar to the 81-character line format for standard sudoku)?
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007

Postby Pat » Fri Jul 13, 2012 9:19 am

enxio27 wrote:Has anyone come up with a standard puzzle definition format for jigsaw sudoku (similar to the 81-character line format for standard sudoku)?
User avatar
Pat
 
Posts: 3423
Joined: 18 July 2005

Re: Puzzle format for jigsaws?

Postby enxio27 » Fri Jul 13, 2012 3:55 pm

I'm a little confused. How does that second format translate from a killer jigsaw to a vanilla jigsaw? And I've long since forgotten what format is referred to as PS. Can someone enlighten me on both points?
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007

Re: Puzzle format for jigsaws?

Postby enxio27 » Fri Jul 13, 2012 5:05 pm

After further investigation, I think the answer to my question is "SumoCue" format, but I don't understand how the format works. I'm hoping to figure out a way to convert a jigsaw puzzle image into that format without having to do it by hand.
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007

Re: Puzzle format for jigsaws?

Postby dyitto » Fri Jul 13, 2012 8:59 pm

Just another option:

Code: Select all
296935885
881876771
453586421
371934918
568942294
717769854
323698567
896136248
478517865

a|a|b|c|c|c|d|e|e
f|g|b|b|i|c|d|e|e
f|g|h|h|i|j|j|k|k
f|f|h|h|l|l|m|m|m
n|n|o|o|p|l|q|q|m
n|r|o|s|p|l|q|u|u
n|r|o|s|t|t|q|u|u
v|r|r|x|x|t|z|z|1
v|w|w|w|y|y|z|z|1

(This is no valid jigsaw, just a format demo.)
evert on the crashed forum
User avatar
dyitto
 
Posts: 118
Joined: 22 May 2010
Location: Amsterdam

Re: Puzzle format for jigsaws?

Postby enxio27 » Fri Jul 13, 2012 9:46 pm

dyitto wrote:Just another option:

Hmmm. . . That one actually makes sense, although it's somewhat longer than the SumoCue, and it could theoretically be reduced to two 81-character lines (or one 162-character line). Do you know whether any sudoku software imports or exports this format?

Is this your idea, or did you find it somewhere else? (I want to propose it on another forum, but I want to give credit where credit is due.)
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007

Re: Puzzle format for jigsaws?

Postby dyitto » Sat Jul 14, 2012 7:09 am

enxio27 wrote:Do you know whether any sudoku software imports or exports this format?

Is this your idea, or did you find it somewhere else? (I want to propose it on another forum, but I want to give credit where credit is due.)

My own program uses this. This way it was easy to program.
evert on the crashed forum
User avatar
dyitto
 
Posts: 118
Joined: 22 May 2010
Location: Amsterdam

Re: Puzzle format for jigsaws?

Postby enxio27 » Sat Jul 14, 2012 3:30 pm

dyitto wrote:My own program uses this. This way it was easy to program.

Do you use it in the form you show above, or do you reduce it?
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007

Re: Puzzle format for jigsaws?

Postby dyitto » Sat Jul 14, 2012 3:44 pm

Currently I don't reduce it - my formats consist of 9 lines as I posted.
evert on the crashed forum
User avatar
dyitto
 
Posts: 118
Joined: 22 May 2010
Location: Amsterdam

Re: Puzzle format for jigsaws?

Postby enxio27 » Sat Jul 14, 2012 6:07 pm

dyitto wrote:Currently I don't reduce it - my formats consist of 9 lines as I posted.

Ok, thanks. I've proposed my reduced-size version to Richard Broughton for support in his SudokuSolver program, with credit to you for your original concept, of course.
User avatar
enxio27
 
Posts: 217
Joined: 13 November 2007


Return to Sudoku variants