| dylanrush
| Joined: 14 Mar 2010 | Posts: 1 | : | | Items |
|
Posted: Sun Mar 14, 2010 7:33 am Post subject: Solver I wrote |
|
|
I've actually never solved a sudoku puzzle by hand in my life. I tried once, but I ended up thinking about it way too much, and lost interest. But I know the rules of sudoku.
Last night I couldn't sleep because I thought of a way to solve sudoku problems.
So today I wrote a sudoku solving program. I've still never solved one by hand, so I think I'm missing many strategies that others have come up with. To me I think this is a programming exercise more than anything else.
My solver will work for most puzzles, but not extremely difficult ones. It never guesses nor checks. I know there are more rules to implement, but I have a bit of writer's block. What I have here is what I came up with last night. Tell me what you think.
The code is somewhat commented but probably not enough. Let me know if parts are too obsure.
How can I post the program here? |
|