Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sudoki solver
#1
Brick 
Here is a small program for solving a Sudoku.
Start the program, press "C" to clear the field. Then fill in the sudoku that you can find in newspapers or other media and finally press "S" to solve the sudoku.
You cannot solve it yourself, the computer does all the work for you.
Comments are welcome  Big Grin


.bas   sudoku.bas (Size: 10.37 KB / Downloads: 78)


Attached Files Image(s)
   
Reply
#2
Thumbs Up 
Yeah Sudoku! 

I've been enjoying mine for years!
https://qb64phoenix.com/forum/showthread...430#pid430

Finally got good enough to check code that the puzzles created have unique solutions.
I also have a Christmas version with images and another with city landmarks around the world!
b = b + ...
Reply
#3
I ran a test puzzle made by my Sudoku app with your Solver and was happy their solutions matched!

Test Puzzle:
   

Solution Match!
   

@BDS107 your puzzle looks nice and is easy to edit even without a mouse input.

I recommend putting a _Limit in main Keypress loop to stop heating up the CPU and activating the fan.
b = b + ...
Reply




Users browsing this thread: 2 Guest(s)