Sudoku Puzzle game with web worker
L'auteur nous en dit plus sur cette démo
Professor Sudoku is a sudoku puzzle game, using one web worker to compute the calculations to improve responsiveness.
With this demo, you can generate a new grid (with only 17 numbers in the grid), solve the grid, and check if the grid is solvable.
There is also a toggle button to enable/disable the web worker, so you can see that with the worker, the UI is not blocked.
Of course, the web worker is really useful only if the sudoku is hard to solve. For example, the default grid will take some time to solve. It will also depend on the power of your cpu.
You can see the time it takes to solve the grid in the console.
Obtenir le code source
Cette démo est fournie sous la licence BSD.