Arjan Eising

Pages

Feeds

You can subscribe to my feeds to get notified when I have written a new post, using RSS or Atom.

Categories

Archives

Solving a Sudoku puzzle with JavaScript

Although I build this many months ago when I got bored, I didn’t publish the Sudoku Solver. I was just interested in how fast JavaScript could do this, and if I had the skills to code all the logical things.

The solver doesn’t solve very hard Sudokus, but many puzzles you’ll find in newspapers he solves in just a second or two. If you have some tips on how to solve this faster, or better, please leave a comment here.

Also mention this is not a best practice project, the JavaScript is not optimal and is embedded in the HTML document instead of doing this unobtrusive.

During the building of the solver, I also found another Sudoku Solver with even more solving methods and some great options. I also found a Sudoku Programmers Forum, but the more of the things discussed there I didn’t understand.

6 responses to Solving a Sudoku puzzle with JavaScript

Respond

Post a comment

Like you, I hate spam. So your e-mail address will not be shown on this website, nor sold to the rich and notorious. For your comment you can use the daily XHTML elements: a (do use the title attribute, please), abbr, acronym, blockquote, code, em and strong. Remember, your comment needs to be written in English, and also be an useful addition to the article or other comments. If not, I might want to delete your comment.