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   

My sudoku helper

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

Joined: 19 Oct 2005
Posts: 1
:

Items
PostPosted: Wed Oct 19, 2005 8:15 am    Post subject: My sudoku helper Reply with quote

I read abt this interesting puzzle a week back and thought i could try to implement a helper to figure out simple stuff like Sole candidates.

Still in the infancy stages this puzzle helper takes the view from the cell view.

http://www.garytay.net/soduku.php

Written in PHP.

I used OOP and the theory that closely resembles how humans analyse the soduku puzzle.

The class contains the puzzle and has a function to grab individual cells and the analysis "Row/Col/Region" is done and returned in a array that is further analyse in a Row/Col/Region way.

In short ->
A human looks at cell X and figures out the candidates of this cell.

All the possibilities are shown on the right grid (after u submit the puzzle).
No brute force Attack/guesswork included nor the advance puzzle solving techniques yet until i could figure em out. Wink

PS : No "protection" for mis-inputs are coded in... just a simple tryout on this wonderful game.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving 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