Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

Samurai sudoku solving program

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku
View previous topic :: View next topic  
Author Message
tobydarling

Joined: 30 Jun 2005
Posts: 2
:
Location: Winchester, UK

Items
PostPosted: Thu Jun 30, 2005 10:52 pm    Post subject: Samurai sudoku solving program Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
AMcK

Joined: 07 Apr 2005
Posts: 89
:
Location: Cambridge

Items
PostPosted: Fri Jul 01, 2005 12:47 am    Post subject: Samurai solver Reply with quote

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
View user's profile Send private message Send e-mail
tobydarling

Joined: 30 Jun 2005
Posts: 2
:
Location: Winchester, UK

Items
PostPosted: Fri Jul 01, 2005 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron