[WelMac] Sudoku mania

Jo 'Mangee' Booth jo at welmac.org.nz
Sun Mar 5 04:49:43 CST 2006


Finally got round to hitting send on this email :)
On 5/03/2006, at 16:52 , John Crook wrote:

>
> It started innocently enough.  My wife started playing around with
> Sudoku puzzles.
> ...
> I said that I couldn't really see the point of these puzzles since  
> they
> only require the repeated application of a few simple logical rules -
> more suited to using a computer rather than a human brain for solving.
> In fact I even went so far as to say that it would be a simple matter
> to write a computer program to solve them.
>
> And then to prove my point, that's what I started to do.
> ...
>
> I have some questions both about programming in VBA and about Sudoku.
>
> 1.   Does VBA actually compile the program?  It seems very slow for a
> compiled program.
> 2.   How can I get VBA to show intermediate results while it is
> working?  At the moment, my program "goes away" and doesn't display
> anything happening on my spreadsheet until it has finished the
> computations.  I would really like to watch it filling in the cells
> progressively.
> 3.   Are there any Sudoku-meisters out there who would like to look at
> the partially completed puzzles that I cannot solve, and tell me what
> other logical rules I might use?  (Actually I can usually solve those
> puzzles on a trial-and-error basis by taking a guess at one of the
> unsolved cells and seeing if it comes out - but that is hardly in the
> spirit of the thing - or is it?)
>
> I'm happy to share my solver with anyone who'd like a copy.  (Please
> ask).  But please be aware that this is still a work-in-progress.
>
> Cheers
>
> John

1.  It's an interpreted language.. so no, it can't be compiled.  
saying that, you cna make a .dll out of it and call that -- but i  
haven't seen it done on a mac.

2.  Is there a sleep() or wait() function?  GOogle also suggests  
using: SendKeys "+", True -- have a look at send keys

3. I think David Empson is a fan of Soduku..
:)


I'd love to have a look over your code.. while not a fan of VBA, it'd  
be interesting to see it.  A while back I too looked into Soduku, and  
decided it looked like a job for a computer.
I had a play with what turned into <http://langabi.name/soduku.php>  
when it was a bit more buggy. PHP is a better language for me :)

  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://nzmac.org/pipermail/welmac_nzmac.org/attachments/20060305/cfbc75c0/PGP.bin


More information about the WelMac mailing list