diff options
author | vg <vgm+dev@devys.org> | 2020-05-10 18:37:27 +0200 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2020-05-10 18:37:27 +0200 |
commit | 84f94c69dc3f44f110766ffb3dc95f4a00d2dbde (patch) | |
tree | 3a30116b27fc2be2beab4f531d2888bf22fb5b9d | |
parent | e46b56ad1f3d384171b92e74a8e57deb71569ef1 (diff) | |
download | kana_quest_solver-84f94c69dc3f44f110766ffb3dc95f4a00d2dbde.tar.gz kana_quest_solver-84f94c69dc3f44f110766ffb3dc95f4a00d2dbde.tar.bz2 kana_quest_solver-84f94c69dc3f44f110766ffb3dc95f4a00d2dbde.zip |
add --print option to show only starting grid
-rwxr-xr-x | solver.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,7 @@ Usage: solver.py -h|--help Options: -h, --help Display this help message -p Display solution with parents [DEFAULT is without parents] + --print Display only the original (unresolved) grid ''' import copy @@ -366,6 +367,9 @@ def main(): print('Initial grid:') print(kanagrid) + if args['--print']: + return + del input_dict grids = {} |