Re: A Sudoku solver in Tcl: version 0.2
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: A Sudoku solver in Tcl: version 0.2

From: Bernard Desgraupes <bdesgraupes@easyconnect.fr>
Date: Sat Dec 24 2005 - 09:39:52 CET

In article <slrndqfle6.56k.avl@gamma.logic.tuwien.ac.at>, Andreas
Leitgeb <avl@gamma.logic.tuwien.ac.at> wrote:

> Bernard Desgraupes <bdesgraupes@easyconnect.fr> wrote:
> > Version 0.2 of Sudokut, a command line Sudoku solver written in Tcl,
> > has just been released. It introduces the following features:
> > * new -s option to obtain suggestions about the next step
> > * new -p option to probe the sudoku using a particular technique
> > * new -o option to obtain only the first solution in the case of a
> > multiple solutions puzzle
> > * new -n option to disable backtracking
> > * more solving techniques are supported: block to row/col
> > reduction, block to block reduction, naked pairs reduction, hidden
> > pairs reduction, x-wing reduction.
>
> Thanks a lot!
>
> Oh, and there are of course some suggestions for eventual 0.3 :-)
>

Hi Andreas,

sorry for the delayed answer, I was out of town last week.

> Allow -p's option to be a (e.g. comma-separated) list
> of techniques which will be used (but not the others)

Yes I had already something like this in mind: the techniques would be
applied in the order specified in the list of course.

> Perhaps also an "inverse"-syntax: "all but ..."
>

I'll soon be short of letters and will have to use long name options
I'm afraid !

> Some "very verbose" flag, that will cause the grid to be shown
> after each applied technique (and a very very verbose: after each
> newly filled cell.)
>

Yes I realize that I'm missing this too: the intermediary stages would
be displayed as a grid by default or as a string if the -r option is
used.

Thanks for the suggestions,

cheers

Bernard
Received on Tue Jan 3 03:09:07 2006