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
Minium config:
32kB, ROMv5a - not tested,
On 64kB ROMv5a/v6 works very well.
Enjoy
Sudoku solver [prog]
Forum rules
Be nice. No drama.
Be nice. No drama.
Re: Sudoku solver [prog]
Nice.
Many thanks!
Best, Peter
Many thanks!
Best, Peter
Re: Sudoku solver [prog]
Just s small suggestion. Maybe use a different color of the manually entered digits, than the program solved ones?
Best, Peter
Best, Peter
- Attachments
-
- Ohne Titel 2.png (62.94 KiB) Viewed 4116 times
-
- Ohne Titel.png (58.65 KiB) Viewed 4116 times
Re: Sudoku solver [prog]
I think, it is possible.
Give me a little time for this.
Give me a little time for this.
Re: Sudoku solver [prog]
I did it.
Enjoy
Edit:
Little fix. Sometimes solution is not possible. Some combination of digits is unsolvable.
I was forgot information about that. Now is ok.
Re: Sudoku solver [prog]
Yes. Works like a charm.
Many thanks, Peter
Many thanks, Peter