The sudoku game which sources can be downloaded above is a simple C# application created for pocketPC to show the use of Knuth's dancing links algorithm implementation to solve any sudoku puzzle.
The main idea is to transform sudoku grid into a bitwise matrix as it is described in Knuth's lessons to use a simple algotirhm to find combination of lines in the matrix that create one line filled with 1's without repeating.The interface is simple and created using a button array.There are 2 main ideas implmented in the game :
In order to do so, I have used a few tricks to increase generation speed :
If removing a number I get a non unique solution ( or solution can not be found) the number is put back and so on.