Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1002 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 1002 Bytes

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