This video demonstrates the sudoku solver I've created recently. It's in python and the source code can be obtained from my website:
https://sites.google.com/site/freehomebrew/freeware/sudoku-solver
It solves sudokus using backtracking.
It can solve any size of sudoku, including ones without solutions (it'll tell you it has no solutions).
At the site, other puzzles are included that you can test and alter. The puzzles are simply text files with the numbers separated by spaces and empty cells being zero.
Backtracking simply means to keep a record of past decisions you can come back to when you'll make a future mistake based on assuming the past decision was correct.
I still say uhh a lot but I think I've improved a bit in making video's (still a long way to go though). Please comment and rate to let me know what you think of this video and it's content. :-)
===========================================================
Info on wikipedia:
sudoku's:
http://en.wikipedia.org/wiki/Sudoku
backtracking:
http://en.wikipedia.org/wiki/Backtracking
python:
http://en.wikipedia.org/wiki/Python_%28programming_language%29
@stephenmccormickify You're very welcome! This is why I posted this in the first place :D
FHomeBrew 3 weeks ago
Thank you for posting this. I have to do this for and assignment and did not understand the algorithm I was meant to write until watching this.
stephenmccormickify 3 weeks ago