|
General Details
|
|
PHP (Hypertext Preprocess...
|
|
Posted 4.62 Years Ago
|
|
5,895 Views
|
|
Received 4 Ratings
|
|
Sudoku Generator
Description
I created this mainly for my girlfriend who loves sudoku and had finished her books with them in.
Features include the ability to select a difficulty, generates both a blanked out puzzle and the answers. You can scroll down to see the answers. Ability to print them off and fold the page to hide the answers or complete it online by clicking on a blank square and typing in the number in the box that pops up (javascript needs to be enabled for that feature).
Technical
Quite a slow algorithm, but my aim was in one day to get the thing to work and actually generate a puzzle via PHP. Which i achieved so i am happy and will not spend anymore time on improving the speed of the generator via altering the algorithm.
Source Code
|
Download Source Code
sudoku-generator.zip ( 0.01Mb )
|
NEVER open a .exe, .bat, .cmd, or other executable file since that is where viruses are likely to live. Please virus scan all files you download.
|
Comments
| Please login to post comments. |
|
|
Yeah could do, but thats above the scope of my original challenge of creating a sudoku generator... not checker as well :-P
Glad ya like it anyway :-)
Kind regards,
Scott
|
|
|
Really nice, though you should make a checker instead of the answers below it. I'm not bothered to check every number ;)
|
More "PHP (Hypertext Preprocessor)" Source Codes By This Author
Recently Posted "PHP (Hypertext Preprocessor)" Source Codes
Recently Rated "PHP (Hypertext Preprocessor)" Source Codes
|