Using a lot of jquery plug-ins, support the mouse wheel to select the number. There are no advanced technical points. Work reasons for a long time did not update, the specific code are some of the memory is not clear, you are welcome to shoot bricks.
Screenshots:
Demo Address: http://demo.jb51.net/js/jsukudo/index.html
Download Address: Jsukudo20081110v0.3.0.5.zip
Download list: Http://code.google.com/p/jsukudo/downloads/list
JS files to use
Filename |
Source |
Description |
Blockui.js |
http://malsup.com/jquery/block/ |
Prompt Box Plugin |
Data.js |
|
Game Description of the data |
Jquery.js |
http://jquery.com/ |
JQuery 1.2.6 |
Mousewheel.js |
http://adomas.org/javascript-mouse-wheel/ |
Mouse Wheel Plugin |
Sukudo.js |
|
Core code |
Timers.js |
Unknown |
Timer Plugin |
The main technical point of use, the jquery selector.
Complex algorithm: The generation of Sudoku data, and the definition of level, the specific algorithm is found on the Internet. In addition, through the observation of a variety of Sudoku game found, in fact, the number of Sudoku vacancy is symmetrical. If the Sudoku generation aspect has its own opinion may recommend to everybody. Author: Shen Jian