Next / Previous / Contents / Shipman's homepage

6. sudoku: Simple text-based solver

The sudoku script is a simple driver for the sudosolver module. There's not much to it: the command line arguments are the names of puzzles in input form. It reads each puzzle, passes it to the solver object, and waits for callbacks when (if) the puzzle is solved.