Nonogram hint dispenser
Currently nono
is able to solve a fair number of puzzles.
However there are still puzzles that are beyond its grasp.
I made up the entire terminology around the hints by myself and there's no documentation of it.
You need Rust and Cargo to compile nono. Install them like this:
curl -sSf https://static.rust-lang.org/rustup.sh | sh
See the Rust and Cargo installation guide for details.
Build and locate the executable:
cargo build && target/debug/nono --help
nono
reads puzzles from stdin.
nono < examples.txt
If you don't want to run all puzzles in a file, you can use sed
do pick out a single line.
For example the 4th line:
sed -n 4p examples.txt | nono
nono
supports a few variations of its output format, a.k.a. themes.
This is the default theme. It gives you:
- Human friendly renderings of puzzle states.
- A trace of all passes that were computed.
- A not-quite-as-human-friendly trace of all inferences that were made in each pass.
This theme is identical to the unicode
theme except puzzle states are rendered using only ASCII characters.
This is useful for terminals lacking unicode support.
This theme gives you:
- Puzzle states in the one-line format.
- No trace of what passes were computed.
- No trace of what inferences were made.
See the included examples.txt
for examples and run them through nono
for interpretation.