use Games::Sudoku::Component::Table; # Let's create a default (9x9) table. my $t = Games::Sudoku::Component::Table->new; $t->
Creates an object. Options are:
Specifies the size of a puzzle board (table). The default is 9. Actually this value is assumed to be a square of another integer.
Specify the width/height of internal blocks, respectively. (
Returns the specified cell object (Games::Sudoku::Component::Table::Cell).
Returns all the cell objects. Mainly used in
Checks permissions and if there are any values stored temporarily but allowed now, store them again as real values.
Clears all the values.
Finds all the cells that have least value possibilities.
Finds a cell that have least value possibilities.
Returns true if all the cells have a real value.
Returns a number of the cells that have a real value.
Locks all the cells that have a real value, mainly to protect the generated or loaded puzzle, so that players cannot, intentionally or unintentionally, change it.
Unlocks the cells. Use before creating or loading a new puzzle.
Returns a loadable set of strings for the puzzle.
Returns an HTML table for the puzzle.
Kenichi Ishigaki, <firstname.lastname@example.org>
Copyright (C) 2006 by Kenichi Ishigaki
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.