Games::Nonogram::Line
This is used internally to store status of the cells in a row/column.
creates an object.
returns the length of the row/column.
returns the value of the cell of the given id.
turns on the cell(s) of the given id.
turns off the cell(s) of the given id.
clears (undefines) the cell(s) of the given id.
returns true if all the cells in the line have turned on/off (i.e. defined).
returns true if some of the cells in the line have changed.
returns an array of the changed cells.
creates a clone of the line object.
returns a bitmap vector form of the line. You can pass another bitmap vector to initialize the object (for example, while brute-forcing).
returns a stringified form of the line.
Kenichi Ishigaki, <ishigaki at cpan.org>
Copyright 2007 by Kenichi Ishigaki
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::Nonogram, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Nonogram
CPAN shell
perl -MCPAN -e shell install Games::Nonogram
For more information on module installation, please visit the detailed CPAN module installation guide.