Re: Sudoku solver / generator

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
> 
> Ricardo M. Forno wrote:
> 
> > Today I sent to EU the version 0.0 of a very fast generalized Sudoku solver,
> > that not only solves the standard Sudoku problems but also admits different
> > rules including n-dimensional problems. I named it GSUDOKU.
> > Please test it and report any errors.
> 
> Interesting program, especially the possibility to modify the rules!
> I did not find an error, but I'd like to suggest to simpify the data
> input. I think a program such as "given.ex" is not necessary. It would
> be more intuitive if the user would write the data directly in the file
> "given", and the format IMHO should be the same as the output format,
> which is also the same format in which the Sudoku puzzle is probably
> presented to the user. E.g. 0 or . can be used for empty fields.
> 
> Regards,
>    Juergen

Thanks for your suggestion.
I think that, instead of modifying solver.ex, it would be better to write
a new given1.ex program that gets the input in the format you suggest and
writes it out in the format solver.ex uses. I will add this program in the
next version, but before I will wait until more feedback comes.
Also, somebody in the list might want to port the algorithm to a visual
environment. At the present time, I have no time for this.
Writing this program was only a relaxing interlude between activities
that raise funds...
Regards.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu