A nonogram puzzle solver and a nonogram to json generator written in python. It can be used as both a library or cli program.
pip install -r requirements.txt
Run solver:
python3 nonogramsolver.py -f [json-path]
Run generator:
python3 nonogramgenerator.py -f [nonogram-path]
alternatively
python3 nonogramgenerator.py -s 'XXX
X.X
XXX'
json file is a multi dimensional array as in examples
nonogram file is in the form of . and x/X's where x shows painted blocks such as:
x.X
XXX
XxX