Skip to content

Kytabyte/picross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picross

A fast nonogram/picross solver written in Python. Nonogram/Picross is a logic puzzles to meet requirements by filling some grids in a rectangular gridded board.

Usage

Give the given rows and cols as 2d array. Solve the problem and show the returned board

import picross as pc

rows = [[4], [3, 3], [2, 1], [2, 2], [1, 2, 3], [2, 3], [4, 1], [10], [8], [4]]
cols = [[6], [3, 4], [1, 1, 3], [2, 1, 4], [1, 1, 3], [1, 1, 3], [2, 2, 3], [1, 1, 2], [1, 2, 2], [2, 2]]

board = pc.solve(rows, cols)
pc.show(board)

About

A fast nonogram/picross solver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages