How to solve Sudoku puzzle automatically ?



Sudoku Solver


This piece of code was contributed by my brother S.Vincent Paul who is the original author of this program. Mail him if you have any comments/suggestions/if you have done a standalone executable of this program (in either unix format or .exe file)

Now a days we find lots of sudoku puzzle being published on various sources
like Newspapers, magazines, and online websites.. But, the user who
is a beginner in this game, finds it is sometimes difficult to solve and has to
wait till the solution is posted (for eg. on newspaper) next day.. If you are in real hurry to
know the solution of some naughty brain teasing puzzles, try this Sudoku solver

This program is embedded as excel macro , and all you have to do is download the
following SolveSudoku.xls from this site.. Once downloaded, the solving sudoku is as simple
as steps shown below in the image below

Open the above .xls file in either OpenOffice Calc or Microsoft Office Excel program

1) Enter the numbers in the grid cells as given in the puzzle (for eg. as displayed in the Newspaper)

2) Click on the "Solve" button to check if you have solved the puzzle correctly (or) just to know the
solution of the puzzle (if you are lazy :-)

3) Wait for some couple of seconds (you will see the A1 cell which will have the value of 81 when the processing is complete) to know the solution of the puzzle.


how to solve sudoku using sudoku.xls


Feel free to use the logic of this program in any other programming language of  your choice
(like C etc) so that you could run as standalone executable (without OpenOffice or Excel)

If you have comments share with my brother on this email id : vincent.pauls@gmail.com

<-- Back to Home