Sudoku solver [prog]

Using, learning, programming and modding the Gigatron and anything related.
Forum rules
Be nice. No drama.
Post Reply
Phibrizzo
Posts: 83
Joined: 09 Nov 2022, 22:46

Sudoku solver [prog]

Post 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 418 times
Minium config:
32kB, ROMv5a - not tested,
On 64kB ROMv5a/v6 works very well.

Enjoy
petersieg
Posts: 114
Joined: 28 Jun 2023, 09:06

Re: Sudoku solver [prog]

Post by petersieg »

Nice.

Many thanks!

Best, Peter
petersieg
Posts: 114
Joined: 28 Jun 2023, 09:06

Re: Sudoku solver [prog]

Post by petersieg »

Just s small suggestion. Maybe use a different color of the manually entered digits, than the program solved ones?

Best, Peter
Attachments
Ohne Titel 2.png
Ohne Titel 2.png (62.94 KiB) Viewed 4116 times
Ohne Titel.png
Ohne Titel.png (58.65 KiB) Viewed 4116 times
Phibrizzo
Posts: 83
Joined: 09 Nov 2022, 22:46

Re: Sudoku solver [prog]

Post by Phibrizzo »

I think, it is possible.
Give me a little time for this.
Phibrizzo
Posts: 83
Joined: 09 Nov 2022, 22:46

Re: Sudoku solver [prog]

Post 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 358 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 363 times
petersieg
Posts: 114
Joined: 28 Jun 2023, 09:06

Re: Sudoku solver [prog]

Post by petersieg »

Yes. Works like a charm.

Many thanks, Peter
Post Reply