Window9 Sudoku generator and solver

New to FreeBASIC? Post your questions here.
Makoto WATANABE
Posts: 194
Joined: Apr 10, 2010 11:41
Location: Japan
Contact:

Window9 Sudoku generator and solver

Postby Makoto WATANABE » Jul 21, 2020 2:41

Window9 Генератор и решатель судоку
http://users.freebasic-portal.de/freebasicru/sudoku.html

This code displays a beautiful GUI as a Window9 example.
However, the generated Sudoku contents do not change.
Please let me know if this code can change the contents of Sudoku.

By the way, I know that the following SuDoku generator can be used with '$lang: "deprecated"' if I just want to generate Sudoku.
https://www.freebasic-portal.de/porticula/sudoku-generator-510.html
Makoto WATANABE
Posts: 194
Joined: Apr 10, 2010 11:41
Location: Japan
Contact:

Solved: Sudoku generator and solver

Postby Makoto WATANABE » Jul 23, 2020 13:28

I found a SuDoku program written in FreeBASIC at the following site.
http://games.freebasic.net/dumpbyid.php?input=92

This program is able to generate SuDoku problems as well as solve input SuDoku problems very quickly.
Programming a "Sudoku generator and solver" is an interesting task for beginners in programming ;-)

P.S.
What I've found in writing the program is that creating a solvable SuDoku problem is quite difficult.
The problem creation process took many times longer than the problem solving process time.

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 2 guests