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 »
Here’s the latest result of my MATLAB tinkering. 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 »
Plotting in MATLAB can be interesting. Whichever you choose to plot first will end up at the back of the figure with all the plots that come after on top of it. Because of this, I like to put
patch plots in the back (the red and blue between the black outline) and then plot the outlines after. The result is what you see above. 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 »
I finished this game earlier this year in May, but never made a video of it nor posted about it. It’s kind of hard to understand exactly what’s going on in the video, so hopefully this post clarifies things. More »