Open Source JavaScript Solver

Programs which generate, solve, and analyze Sudoku puzzles

Open Source JavaScript Solver

Postby ramsdell » Tue Aug 23, 2005 2:05 pm

An open source puzzle solver written in JavaScript and embedded into an HTML document, is available at http://www.ccs.neu.edu/home/ramsdell/tools/sudoku.html. This solver is intended to show people how to solve the kind of Sudoku puzzles that are published in newspapers, should they get stuck. As such, it creates a transcript containing each step of the solution. The solver is free software made available under the terms of the GNU General Public License. You are encouraged to study the source code, and either add your own solution strategies, or delete the ones it uses, and create your own complete set of strategies.
ramsdell
 
Posts: 5
Joined: 18 August 2005

re: Open Source JavaScript Solver

Postby michaelmaniscalco » Tue Aug 30, 2005 3:11 am

Interesting interface. It very step by step.
Here's my HTML/javscript solver ....

http://www.michael-maniscalco.com/sudoku.htm

It's only tested for IE since it uses DHTML and css
but it should work for any good modern browser.

I think my hint feature is a little for useful for someone
who wants a subtle hint without the solution. But
I could add a delay to the solve feature to make the
total solution more step-by-step as yours is.

- Michael
michaelmaniscalco
 
Posts: 1
Joined: 29 August 2005

Re: re: Open Source JavaScript Solver

Postby ramsdell » Mon Sep 05, 2005 12:48 am

michaelmaniscalco wrote:Interesting interface. It very step by step.


Well, I'm not an artist, and definitely not known for my GUI designs. My interface is entirely utilitarian. The goal of my solver is to show me how to proceed when I get stuck solving puzzles from my newspaper. The good news is that I need program less often lately...

michaelmaniscalco wrote:Here's my HTML/javscript solver ....

http://www.michael-maniscalco.com/sudoku.htm

It's only tested for IE since it uses DHTML and css
but it should work for any good modern browser.


Very pretty, and it seems work just fine with Firefox. You should add a copyright to your source files, especially if you want to let others use your work.

John
ramsdell
 
Posts: 5
Joined: 18 August 2005


Return to Software