Library to represent and solve Kakuro puzzles.
A package to represent adn solve Kakuro puzzles. Puzzles are input as two dimensional arrays of either Blank objects (entries to be filled in or that are already filled in with a value) or Block objects (greyed out entries, possibly specifying a vertical and / or horizontal sum).
The package uses an iterative process to refine the board, and backtracking by branching on an entry with the fewest number of possible values when refinement fails to make any progress.
A generator is used to provide solutions in the case of boards with no solutions or ambiguous boards with multiple solutions.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|kakuro-1.0.0-py2.6.egg (13.1 kB) Copy SHA256 hash SHA256||Egg||2.6|
|kakuro-1.0.0.tar.gz (6.6 kB) Copy SHA256 hash SHA256||Source||None|