Re: SUDOKU
- From: "Frank Bemelman" <f.bemelmanq@xxxxxxxxxxxxxxxxx>
- Date: Mon, 14 Aug 2006 16:32:30 +0200
"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)
.
- References:
- SUDOKU
- From: GoingGetsTough
- SUDOKU
- Prev by Date: Re: OT : so this is what our troops are dying for in Afghanistan !
- Next by Date: Re: Dubya talks of Moslem 'Fascists' ! He has no idea what it means !
- Previous by thread: Re: SUDOKU
- Next by thread: Re: SUDOKU
- Index(es):