X-Git-Url: http://gitweb.pimeys.fr/?p=sudoku.git;a=blobdiff_plain;f=sudoku.py;h=f73e0ac758e7e7f3d44329e7cc09604403e059e4;hp=666110e2f89c51f6f2f1eb7a9bbd3acd7e00d5ee;hb=HEAD;hpb=1c7ce90cac407f5196f07d3b63bcc6c4b102efc4 diff --git a/sudoku.py b/sudoku.py index 666110e..f73e0ac 100755 --- a/sudoku.py +++ b/sudoku.py @@ -202,11 +202,12 @@ class Grid(object): if __name__ == "__main__": basic = sudoku_types.BasicSudoku() samurai = sudoku_types.Samurai() + #samurai.debug(True) #values = [i for i in sudoku_types.examples.hard] #values = [i for i in "0"*369] - #values = quick_input() - values = [i for i in sudoku_types.examples.samurai] - g = Grid(samurai, values) + values = quick_input() + #values = [i for i in sudoku_types.examples.samurai] + g = Grid(basic, values) print g raw_input("\ngo ?") g.solve()