CodeBase - Sudoku Solver

Return to the CodeBase listing

Category: Miscellaneous

Version: 0.1

0
0

Information

Uploaded: 6th Sep 2010 16:53

Modified: 7th Sep 2010 20:05

Author:  CSL

Summary

Sudoku Puzzle Solver

Full Description

About Sudoku Solver<br /> <br /> This is work in progress - Program works as it is now in attempting to solve nearly all easy-level (haven't found an Easy that the program hasn't solved) and some medium Sudoku puzzles. It has also a 33% success rate so far for harder puzzles. It attempts to solve puzzles using the regular solving techniques of candidate elimination and alternative techniques such as Naked and Hidden Singles. I'm still working on the Naked Pairs technique code, which has been commented for now.<br /> <br /> I've included several puzzles of various levels of difficulty, obtained from different Sudoku books for the program to solve. The program will pick up the first uncommented puzzle from the DATA statements, and will ignore anything else. I left one Sudoku puzzle data uncommented for demonstration purposes. You may enter your own partially solved Sudoku puzzles in the DATA statements, but make sure to comment out the previous puzzle DATA lines. Please refer to the program comments for additional information.<br /> <br />

Comments

No comments yet.