winJade: sudoku assistant - winJade

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

sudoku assistant solves easy ones, and helps with hard ones

#1 User is offline   Bruce Icon

  • Advanced Member
  • PipPipPipPip
  • Group: VIP
  • Posts: 260
  • Joined: 18-March 06
  • Location:Redmond, WA
  • I'm running:6000

Posted 11 May 2006 - 07:19 PM

I'm not a sudoku fanatic, but I've done a couple. I have a very mechanistic approach in the solution - so mechanistic that I knew I could write a program to do it. I also like to write DHTML programs, since that increases my gadget-fu.

Therefore, I have written the attached program/web-page. Just load it, enter the numbers from your sudoku puzzle, and it will either solve it for you, or if the puzzle is a more difficult one it will solve the squares that it can using my algorithm, and give you a nice graphical representation of the possible values in the remaining cells.

Let me know what you think!

p.s. rename 'sudoku.html.txt' to 'sudoku.html', and tell it to run the script when the security warning comes up. If you don't trust me, read the source code yourself. *grin*

Update: here's a screenshot:
Attached File  sudoku.PNG (8.7K)
Number of downloads: 18
The black numbers are the ones I entered. The small grey squares indicate numbers that are not allowed in the associated cell. The red numbers are deduced by the program when a cell has eight grey squares filled in.

Attached File(s)


0

#2 User is offline   Rob Storm Icon

  • The Quiet One
  • PipPipPipPipPip
  • Group: Administrator
  • Posts: 1,051
  • Joined: 22-July 04
  • Gender:Male
  • Location:Atlanta, GA
  • I'm running:Windows 7 RTM 64 Bit

Posted 11 May 2006 - 07:32 PM

View PostBruce, on May 11 2006, 03:19 PM, said:

I'm not a sudoku fanatic, but I've done a couple. I have a very mechanistic approach in the solution - so mechanistic that I knew I could write a program to do it. I also like to write DHTML programs, since that increases my gadget-fu.

Therefore, I have written the attached program/web-page. Just load it, enter the numbers from your sudoku puzzle, and it will either solve it for you, or if the puzzle is a more difficult one it will solve the squares that it can using my algorithm, and give you a nice graphical representation of the possible values in the remaining cells.

Let me know what you think!

p.s. rename 'sudoku.html.txt' to 'sudoku.html', and tell it to run the script when the security warning comes up. If you don't trust me, read the source code yourself. *grin*


I am not getting the Security warning. I can only add a number into 1 box.
Posted Image
Remember Utakz
0

#3 User is offline   SW-Ray Icon

  • Advanced Member
  • PipPipPip
  • Group: Contributor
  • Posts: 50
  • Joined: 30-April 05

Posted 11 May 2006 - 07:51 PM

View PostRob Storm, on May 11 2006, 03:32 PM, said:

I can only add a number into 1 box.

Be sure to hit enter after you type the number in.
0

#4 User is offline   Rob Storm Icon

  • The Quiet One
  • PipPipPipPipPip
  • Group: Administrator
  • Posts: 1,051
  • Joined: 22-July 04
  • Gender:Male
  • Location:Atlanta, GA
  • I'm running:Windows 7 RTM 64 Bit

Posted 11 May 2006 - 08:32 PM

Works Great!

Thanks Bruce.
Posted Image
Remember Utakz
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users