View previous topic :: View next topic |
Author |
Message |
| tobydarling
| Joined: 30 Jun 2005 | Posts: 2 | : | Location: Winchester, UK | Items |
|
Posted: Thu Jun 30, 2005 10:52 pm Post subject: Samurai sudoku solving program |
|
|
Hi there,
Having previously devised a program (VBA in excel) to solve conventional
sudoku puzzles, I have now developed a program that solves Samurai sudoku puzzles (ie the 5 interlocking grid puzzle). I am just wondering
whether anyone else have developed a similar program. It seems to solve
the most recent Samurais in the Times within about 10 seconds, using
a logic based algorithm. If there any programmers out there who would be interested in making it into a saleable product I would be happy to
hear from them.
Toby Darling (tobydarling@hotmail.com) |
|
Back to top |
|
|
| AMcK
| Joined: 07 Apr 2005 | Posts: 89 | : | Location: Cambridge | Items |
|
Posted: Fri Jul 01, 2005 12:47 am Post subject: Samurai solver |
|
|
I just adapted my 3x3x3 VB6 solver.
I just pull each of the 5 3x3x3 grids from the samurai in turn, partially solve them, then put them back into the samurai.
Takes a few iterations to converge - less than a second
AMcK |
|
Back to top |
|
|
| tobydarling
| Joined: 30 Jun 2005 | Posts: 2 | : | Location: Winchester, UK | Items |
|
Posted: Fri Jul 01, 2005 12:53 pm Post subject: |
|
|
Thanks for your reply.
Yes that is pretty much what I do, but in excel. I pass the information covering the overlapping sections from one grid to another. Because I have a slow pc and excel takes time to write to the cells its quite a bit slower though. I did find one site offering an online samurai solver, but you have to pay £1 to use it for a week. Its at http://sudoku.top-notch.co.uk/samurai.asp .
Cheers
Toby Darling |
|
Back to top |
|
|
|