- COPYRIGHT AND LICENSE
use Games::Nonogram::Grid; my $grid = Games::Nonogram::Grid->new( height => 10, width => 10 ); or my $grid = Games::Nonogram::Grid->new_from( file => 'puzzle.dat' );
This is used internally to provide the puzzle grid.
creates an object. You should provide height and width of the puzzle as shown above.
also creates an object but through a loader (in this case, ::Loader::File).
parses data from the loader and prepares clues.
returns (or dumps) the stringified form of the grid.
looks through the grid and takes a step forward to solve.
returns all the answer(s) found.
returns all the row clues for the grid.
returns all the column clues for the grid.
returns all the clues for the grid.
returns clues in the given row.
returns clues in the given column.
is a flag which should be true after something is changed.
returns true if the grid has answer(s).
returns true if all the blocks are settled.
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.