Page 1 of 1

Sudoku solver [prog]

Posted: 24 Nov 2023, 20:27
by Phibrizzo
Hello :)

This time something different.
I did sudoku solver. If you have a problem with sudoku, use this program :-)
I used "brute force" and recursion method. But is fast (as a Gigatron).
Time of solving may be different for different combination of digits.

Usage:
Coursors - move the coursor
A button - change and put digits
B button - clear all
START button - start solving
AntySudoku.gt1
(4.21 KiB) Downloaded 278 times
Minium config:
32kB, ROMv5a - not tested,
On 64kB ROMv5a/v6 works very well.

Enjoy

Re: Sudoku solver [prog]

Posted: 27 Nov 2023, 17:04
by petersieg
Nice.

Many thanks!

Best, Peter

Re: Sudoku solver [prog]

Posted: 04 Dec 2023, 16:50
by petersieg
Just s small suggestion. Maybe use a different color of the manually entered digits, than the program solved ones?

Best, Peter

Re: Sudoku solver [prog]

Posted: 04 Dec 2023, 17:42
by Phibrizzo
I think, it is possible.
Give me a little time for this.

Re: Sudoku solver [prog]

Posted: 05 Dec 2023, 17:47
by Phibrizzo
petersieg wrote: 04 Dec 2023, 16:50 Just s small suggestion. Maybe use a different color of the manually entered digits, than the program solved ones?
I did it.
Enjoy :)
antysudoku2.gt1
(4.31 KiB) Downloaded 233 times
Edit:
Little fix. Sometimes solution is not possible. Some combination of digits is unsolvable.
I was forgot information about that. Now is ok.
antysudoku3.gt1
(4.74 KiB) Downloaded 244 times

Re: Sudoku solver [prog]

Posted: 07 Dec 2023, 15:52
by petersieg
Yes. Works like a charm.

Many thanks, Peter