Re: SUDOKU



"GoingGetsTough" <mrigankrai@xxxxxxxxx> schreef in bericht
news:1155554693.587847.126700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi !! all. I am trying to create a Visual Basic Program for solving
any SUDOKU number puzzle. In such puzzels, there is 9 x 9 blocks grid
divided into 9 blocks of 3 x 3. In solving the puzzle, care is taken so
that there are all the digits from 1 to 9 in each row or column. Anyone
who can help me regarding it would get a free executable file of the
SUDOKU solvable puzzle. Thanx in advance........Cheerio.

Plenty of such programs on the internet already.

It's pretty simple to solve. For each field, declare an array
filled with 1-9. Replace them with zeroes, using simple rules,
using the squares with only one digit in them as a check value
for all other squares in horizontal, vertical bars, and 3x3
squares. After a couple of such iterations, you will see that
your puzzle is solved, well before you can lift your finger from
the start button.

More fun to write a program that *creates* solvable SUDOKU's.

--
Thanks, Frank.
(remove 'q' and '.invalid' when replying by email)




.


Quantcast