sudoku maker and solver

[top]


This is a python script, which can make and solve sudoku puzzle.

If you don't know sudoku, please go to http://en.wikipedia.org/wiki/Sudoku.

This script can make/solve not only normal 3x3 sudoku but also general (rectangle) sudoku like 3x4;

Problem #1
+- -- -- +- -- -- +- -- -- +- -- -- +
|   A  9 |        |8       |3     5 |
|8       |      B |   2  5 |        |
|      7 |   5    |   B    |        |
|        |      2 |      4 |1  6    |
+- -- -- +- -- -- +- -- -- +- -- -- +
|   8    |        |   5    |4  A    |
|        |        |      0 |        |
|      5 |2       |   6  3 |7       |
|        |0  7  4 |        |5     1 |
+- -- -- +- -- -- +- -- -- +- -- -- +
|   5  8 |   1  A |        |      7 |
|   9    |        |   4    |   3  B |
|B  2    |        |   A  6 |9       |
|   0    |7  3    |        |6       |
+- -- -- +- -- -- +- -- -- +- -- -- +


how to use


download



inserted by FC2 system