SudokuSolver Forum
http://www.rcbroughton.co.uk/sudoku/forum/

File formats for Variant Sudoku.
http://www.rcbroughton.co.uk/sudoku/forum/viewtopic.php?f=11&t=47
Page 1 of 1

Author:  Glyn [ Mon May 12, 2008 9:01 am ]
Post subject:  File formats for Variant Sudoku.

As it seems pertinent to all solver programs I have following JC's recommendation started a thread for the discussion of File formats.

Author:  Børge [ Mon May 12, 2008 10:14 am ]
Post subject:  Re: File formats for Variant Sudoku.

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

Author:  Jean-Christophe [ Mon May 12, 2008 10:16 am ]
Post subject:  Re: File formats for Variant Sudoku.

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

Author:  Jean-Christophe [ Mon May 12, 2008 1:45 pm ]
Post subject:  Re: File formats for Variant Sudoku.

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).

Author:  Børge [ Mon May 12, 2008 2:29 pm ]
Post subject:  Re: File formats for Variant Sudoku.

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! ;)

Author:  Glyn [ Mon May 12, 2008 6:06 pm ]
Post subject:  Re: File formats for Variant Sudoku.

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:

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/