View previous topic :: View next topic |
Author |
Message |
| alexander
| Joined: 29 Jul 2006 | Posts: 2 | : | | Items |
|
Posted: Sat Jul 29, 2006 2:23 pm Post subject: PHP Sudoku Generator |
|
|
Dear all,
I am a very nub PHP developer, I wonder if there is any method to generate a sudoku grid. Could anyone tell me a algorithmic/logical sudoku setting-up procedure?
PS.Sorry for my poor English, I am only a little boy who love programming |
|
Back to top |
|
|
| Ruud Site Admin
| Joined: 17 Sep 2005 | Posts: 708 | : | Location: Netherlands | Items |
|
Posted: Sat Jul 29, 2006 3:49 pm Post subject: |
|
|
Hi Alexander,
You can start reading this post: http://www.setbb.com/sudoku/viewtopic.php?t=1038&mforum=sudoku
There is a fully operational solver.
Take an empty grid, plug in a random number of digits and call the solver. When it reports a single solution, you have a valid puzzle.
Ruud |
|
Back to top |
|
|
| alexander
| Joined: 29 Jul 2006 | Posts: 2 | : | | Items |
|
|
Back to top |
|
|
|