/Picross-Solver

🐬 Python script which solves Nonogram (Picross) puzzles.

Primary LanguagePython

Picross Solver

Short project which solves Nonogram (Picross) puzzles. https://en.wikipedia.org/wiki/Nonogram

To use the solver, download the picross_solver folder.

  1. In the input.txt file, enter the dimensions of the Picross, then the row data, then the column data. Note that spaces and newlines matter. See below for an example.
  2. Run the solve.py file.
  3. The solution will be printed in the output.txt file. "O" represents a filled cell, "." represents an empty cell.

Example Picross puzzle:

alt text

Example input:

alt text

Example output:

alt text

Example solution:

alt text