You are currently browsing the tag archive for the ‘sudoku’ tag.

As promised, here’s the code for the newest revision of my Sudoku Solver. More »

The recursion in the guessing logic of my old Sudoku solver was flawed — often finishing without a complete puzzle. So I’ve rewritten it and I’ll be putting it in another post after this one. More »

And once again, Southwest breaks my Sudoku Solver. More »

A new challenger approaches! More »

Okay, one more iteration for this thing. Traveling back home for Thanksgiving, I typed in some more sudoku puzzles from the back of the in-flight magazine. Leave it to Southwest to once again break my code… More »

Update: I found another puzzle that breaks the code, click here for Revision 3.0!

I never claimed that my Sudoku Solver worked for every puzzle. In fact, it was pretty careless of me to post the code checking it against only two puzzles. And for those two puzzles, it worked just fine.

Two weekends ago, I went to Barnes and Noble, typed in one of the harder puzzles, and found out that my code broke. Oops. More »

Been awhile since I posted something, but damn if this isn’t the greatest thing I’ve read all morning. More »

Say you’ve gotten to the point in your Sudoku where the obvious numbers have been placed. The next step would be to look for patterns that allow you to narrow down your possibilities. More »

Wow. So apparently my Sudoku Solver from my previous post got linked on someone’s Facebook. My tiny little blog normally gets 1-2 hits a day with spikes of about 15 or so. Yesterday, I apparently got 850 (!!) hits and today I’m at 217 and counting. Crazy thing, the internet.

So rather than sitting here in awe, mouth agape, I figure I’ll actually talk about my code some, as promised. More »

Update: This was my first crack at this problem, and while it works for the two given puzzles, it breaks on other puzzles. Please see Revision 2.0 for an updated version of the code.

I went on travel last week; flew from the east coast to the west coast, non-stop. It’s a pretty long flight, about 5 hours. To amuse myself, I started doing the sudoku puzzle from the in-flight magazine. As I was finishing up the easy puzzle, I got this crazy idea to write up my own sudoku solver. “It can’t possibly be difficult, right?” I thought to myself. After all, solving a sudoku puzzle is just applied set theory; finding subsets and narrowing down the possibilities. More »


RSS Scrobbles

  • An error has occurred; the feed is probably down. Try again later.