Re: Looping to put numbers in a 9x9 grid of Text Boxes
Sorry for the late reply, but for some reason this site stopped notfifying me of replies :( Really sorry. I haven't given up on this topic, I just had a lot of work to do for exams and then sort of forgot... then I just suddenly remembered again and saw how many replies. Again I'm sooo sorry, and thanks for all your help and all, i'll read through everything now. I came up with a new idea that may work which i'm planning at the moment.
Oh, and yes I am planning a generator, and hopefully this new way I'm thinking of will be able to do the trick within a small amount of time. Once I get some code sorted out i'll post it. I might be making more edits to reply to some things here.
Edit: If anybody is reading this... My way at the moment isn't completely random at the moment but hopefully if i can figure this out, should be completely random, and fitting all the conditions of course.
Re: Looping to put numbers in a 9x9 grid of Text Boxes
Re: Looping to put numbers in a 9x9 grid of Text Boxes
Thanks, I'll have a look.
Re: Looping to put numbers in a 9x9 grid of Text Boxes
From the techniques I learned in building the msk files, I feel I could have applied them into building the base sudokus. {The base sudokus were the full pattern generated via a combination of random cell/number assignement, and then exhausting the must_bes that spun off of each assignment.}
I attained a 97% efficiency with building the base sudokus, but I didn't use any of, what I found out halfway, approx the 2nd submission of my msk files, were called naked and hiddin singles, doubles, triples, ...
Anytime my base sudoku generator failed, {3 % of the time} I just generated another.
THEN, I started my masking procedure.
I feel, if I backtrack into my code, and suppliment my base sudoku generators with these basic strategies, I could achieve 100% random base sudoku generation.
:wave:
-Lou
Re: Looping to put numbers in a 9x9 grid of Text Boxes
hi !
can anybody let me know about the complete source code for sudoku in VB.NET here !
thanx