New Posts  All Forums:Forum Nav:

Sudoku Solver - Page 2

post #11 of 29
Quote:
Originally Posted by TaiDinh View Post
Cool!
I'm going to take out the book of Suduko I have and complete some of the impossible ones.
To have a book of Sud Oku, would be...well...eh...

This thing is for people like me who strongly dislike sudoku and have a geometry teacher who absolutely loves to pass them out as classwork...
My Plug In Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0 GHz EVGA x58 FTW3 EVGA GTX 470 Corsair Dominator 3x2GB 
OSMonitorPowerCase
Windows 7 19" Flat Panel Acer 900W CoolerMaster CM690 
  hide details  
Reply
My Plug In Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0 GHz EVGA x58 FTW3 EVGA GTX 470 Corsair Dominator 3x2GB 
OSMonitorPowerCase
Windows 7 19" Flat Panel Acer 900W CoolerMaster CM690 
  hide details  
Reply
post #12 of 29
How does this program work though if there is multiple solutions to a puzzle? I'll have to download it and check it out sometime.
post #13 of 29
This is one brilliant piece of software my friend. Well done You got one up on Carol Vorderman now
    
CPUMotherboardGraphicsRAM
AMD X2 3800+ Manchester Asus A8N-SLi SE nForce4 BFG 8800GTS OC 640MB @ 661/2Ghz Nanya 1GB DDR400 
Hard DriveOptical DriveOSMonitor
160 GB WD Caviar Acer DVD+-RW 16x Windows XP Pro x64 Acer AL1916WS 19" Wide 
KeyboardPowerCaseMouse
Logitech Explorer Hiper Type-R Modular 580W Thermaltake Soprano Black Logitech 500 G-Optical 
Mouse Pad
£3 Generic :D 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD X2 3800+ Manchester Asus A8N-SLi SE nForce4 BFG 8800GTS OC 640MB @ 661/2Ghz Nanya 1GB DDR400 
Hard DriveOptical DriveOSMonitor
160 GB WD Caviar Acer DVD+-RW 16x Windows XP Pro x64 Acer AL1916WS 19" Wide 
KeyboardPowerCaseMouse
Logitech Explorer Hiper Type-R Modular 580W Thermaltake Soprano Black Logitech 500 G-Optical 
Mouse Pad
£3 Generic :D 
  hide details  
Reply
post #14 of 29
Thread Starter 
Quote:
Originally Posted by lavieinjuste View Post
To have a book of Sud Oku, would be...well...eh...

This thing is for people like me who strongly dislike sudoku and have a geometry teacher who absolutely loves to pass them out as classwork...
Haha, glad I could help. I actually have little interest in the puzzles also. I wanted to learn the Java swing API, so I figured this would be the perfect chance. All the buttons, menus and frames were painstakingly coded by hand. I gained a great understanding of the components though.
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #15 of 29
Thread Starter 
Quote:
Originally Posted by pheoxs View Post
How does this program work though if there is multiple solutions to a puzzle? I'll have to download it and check it out sometime.
If there are multiple solutions, it'll give the lowest valued solution. In other words, if for 2 given cells, the possible values are

Cell [0,1] = 1, 2, 4
Cell [6,2] = 2, 7, 9

If all those values would solve the puzzle, the solution you'd see would have [0,1] = 1, and [6,2] = 2. It always tries the lowest values first when working with the brute force approach.

Also, thanks to all for the positive feedback. I was worried that there would be some cross-platform issues, or people not having the right runtime files or something.
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #16 of 29
Very cool, I am learning Java this summer at Cape Cod Community College (CCCC lol wow) Anything I should know about beforehand?
x
(12 items)
 
  
CPUMotherboardRAMHard Drive
AMD FX-8350 Black Edition ASUS SABERTOOTH 990FX  Crucial Ballistix Elite Western Digital 
Optical DriveCoolingOSKeyboard
Asus CORSAIR Hydro Series H55 Quiet Edition Windows 8 Logitec  
MouseMouse PadAudioAudio
Microcenter Microcenter Senheisser HD25II AIAIAI TMA-1 
  hide details  
Reply
x
(12 items)
 
  
CPUMotherboardRAMHard Drive
AMD FX-8350 Black Edition ASUS SABERTOOTH 990FX  Crucial Ballistix Elite Western Digital 
Optical DriveCoolingOSKeyboard
Asus CORSAIR Hydro Series H55 Quiet Edition Windows 8 Logitec  
MouseMouse PadAudioAudio
Microcenter Microcenter Senheisser HD25II AIAIAI TMA-1 
  hide details  
Reply
post #17 of 29
Thread Starter 
Quote:
Originally Posted by BenHagerty View Post
Very cool, I am learning Java this summer at Cape Cod Community College (CCCC lol wow) Anything I should know about beforehand?
http://java.sun.com/javase/6/docs/api/

That will be your new <generic object of worship>. Every class, command, interface, etc. is outlined and VERY well documented. Other than that, learn the basics of object oriented programming and you'll be in for clear sailing and some fun projects.
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #18 of 29
Thread Starter 
I have uploaded what will be my final version, in which I implemented arrow key navigation. Thanks to everyone for your interest. It was a very fun project to work on, and the positive feedback really made it worthwhile. Look forward to my next project.
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #19 of 29
Nice work!
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
Reply
post #20 of 29
Did you use a brute-force method of solving the puzzles? Is there any more elegant way of solving Sudoku or is it one of those Big-O problems? IF so, at what point does your PC no longer able to solve it in anytime soon?
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming