View previous topic :: View next topic |
Author |
Message |
| Devil
| Joined: 21 Aug 2006 | Posts: 1 | : | | Items |
|
Posted: Mon Aug 21, 2006 10:59 am Post subject: Sudoku problem |
|
|
I have made a sudoku program in Pascal.
The program will generate a sudoku puzzle, but I have some problem about how to check whether the sudoku puzzle can be solved in my program? What should I set up in my program for checking?
Please help me. Thank you.
(Sorry about my poor English.) |
|
Back to top |
|
|
| Mike Barker
| Joined: 03 Sep 2006 | Posts: 6 | : | | Items |
|
Posted: Sun Sep 03, 2006 11:13 pm Post subject: |
|
|
There is a great fast solver, suexk, located at http://magictour.free.fr/sudoku.htm. The code is attached to the end of the executable, so you should be able to extract it and incorporate it into your solver (unless you plan on selling it). You can use this program to verify your puzzle / determine the number of solutions. There is also a simple routine to rate puzzles. |
|
Back to top |
|
|
|