Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Soduko
Message
 
À
18/01/2006 22:55:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Soduko
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01073278
Message ID:
01088381
Vues:
17
>>Thanks for trying - but - like Mark said, each 3x3 grid has to have the numbers 1-9 as well. Also, it needs to be in some random order - making it more difficult to solve.
>
>I just started solving Sudoku puzzles recently.
>
>The real difficulty for programming, it seems to me, is not so much how to put the digits in some random order and still make them fit - although I have not the slightest idea to solve it that part. The real difficulty might be to decide which digits to leave blank, so that a human can then solve the puzzle.

I've come to this conclusion...but haven't got it programmed yet...you need to fill in a few (maybe 9 spaces) with numbers from 1 to 9 - then attempt to solve the puzzle programmatically. If you can find a solution, then it's simply a matter of removing all but about 15 or so of the numbers and let the user try to solve it. It is really a very difficult thing to program. I'm finding that there are many programs that have pre-programmed puzzles and just load a puzzle instead of generating a new one.

Let me know if you come up with something - I'd be very interested in taking a look.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform