The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::Sudoku::Component::Base

SYNOPSIS

  use base qw/Games::Sudoku::Component::Base/;

DESCRIPTION

This is a base class for Games::Sudoku::Component::Table, Games::Sudoku::Component::Table::Cell, Games::Sudoku::Component::Table::Permission.

METHODS

new

Creates an object. Options are:

size

Specifies the size of a puzzle board (table). The default is 9. Actually this value is assumed to be a square of another integer.

block_width
block_height

Specify the width/height of internal blocks, respectively. (block_width x block_height = size)

size

Returns the size of the table, specified at new.

block_width

block_height

Return the width/height of internal blocks of the table, specified at new, respectively.

SEE ALSO

Games::Sudoku::Component
Games::Sudoku::Component::Table
Games::Sudoku::Component::Table::Cell
Games::Sudoku::Component::Table::Permission

AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

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.