So after You now know the how the grid is made and the allowed numbers, You have to know that in horizontal, vertical and in one cube there must be no duplicates of the allowed numbers. And let's the Math begin!
In our application we had to redirect the System.Console class and get the matrix grid from a simple .txt file. I have created custom Sudoku exception class to manage the game state at all time. The full open source code can be found here .
Няма коментари:
Публикуване на коментар