SudokuSolver Forum

A forum for Sudoku enthusiasts to share puzzles, techniques and software
It is currently Thu Mar 28, 2024 7:06 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon May 12, 2008 9:01 am 
Offline
Expert
Expert

Joined: Mon Apr 21, 2008 8:12 pm
Posts: 90
Location: London, UK
As it seems pertinent to all solver programs I have following JC's recommendation started a thread for the discussion of File formats.

_________________
I have 81 brain cells left, I think.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2008 10:14 am 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
rcbroughton wrote:
SudokuSolver strictly numbers grids from top left to bottom right (except for Clueless Grids, which are always last).
IMHO this is the best numbering scheme ... as it is the one I also use in TUSP ;)
Having the same numbering scheme in all helpers/solvers would be preferable (at least for the users).

Jean-Christophe & Richard:
As far as I can determine neither JSudoku nor SudokuSolver checks if the codes for overlapping nonets are identical in all code strings.

What I do in TUSP is:
For every cell with a mismatch I produce a warning message of the form
"Different values for this cell in the codes for the 9x9 grids X and Y.
In grid X it [has the value A / is empty]. In grid Y it [has the value B / is empty]."
and highlight the cell in an ugly red colour.
When done reading the code I put TUSP in "Forced Clue Mode", i.e. only givens can be entered until the user has entered a given / empty cell in all cells that have a mismatch.
Alternatively the user can clear the grid or paste in another puzzle.

Image

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2008 10:16 am 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
Glyn, I could have started this thread myself ;-) Now, you're in charge of maintaining this thread up to date :twisted:

Here are some links:
Ruud's page with sudoku file formats
DJApe killer sudoku format and its extensions for non-cons, zero killer, windoku...
SumoCue file format for Jigsaw and Killer Jigsaw
Ruud explain how SudoCue reads pencil marks. Also used for Sukaku

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2008 1:45 pm 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
Børge wrote:
rcbroughton wrote:
SudokuSolver strictly numbers grids from top left to bottom right (except for Clueless Grids, which are always last).
IMHO this is the best numbering scheme ... as it is the one I also use in TUSP ;)
Having the same numbering scheme in all helpers/solvers would be preferable (at least for the users).

Sure, I've now adopted Richard's ordering... In the next release, of course.

Børge wrote:
Jean-Christophe & Richard:
As far as I can determine neither JSudoku nor SudokuSolver checks if the codes for overlapping nonets are identical in all code strings.

I've now added some checking for overlapping cells. JSudoku will check mismatching givens as well as mismatching cell states (eg a given clue against an ungiven) as well as mismatching candidates (for candidates grids).

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2008 2:29 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
Jean-Christophe wrote:
I've now added some checking for overlapping cells. JSudoku will check mismatching givens as well as mismatching cell states (eg a given clue against an ungiven) as well as mismatching candidates (for candidates grids).
That was quick and hopefully clean! ;)

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2008 6:06 pm 
Offline
Expert
Expert

Joined: Mon Apr 21, 2008 8:12 pm
Posts: 90
Location: London, UK
That makes Grid numbering in Gattai consistent with the most common form of Nonet numbering in Jigsaw Sudoku as well. A speedy mod JC. :applause:

_________________
I have 81 brain cells left, I think.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group