Mohammad S Anwar > Games-TicTacToe-0.05 > Games::TicTacToe::Board

Download:
Games-TicTacToe-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source   Latest Release: Games-TicTacToe-0.06

NAME ^

Games::TicTacToe::Board - Interface to the TicTacToe game's board.

VERSION ^

Version 0.05

DESCRIPTION ^

The module used by the parent module Games::TicTacToe.

METHODS ^

isFull()

Return 1 or 0 depending whether the game board is full or not.

setCell()

Set the cell with the player symbol.

getCell()

Get the cell symbol in the given index.

as_string()

Returns the current game board.

AUTHOR ^

Mohammad S Anwar, <mohammad.anwar at yahoo.com>

BUGS ^

Please report any bugs or feature requests to bug-games-tictactoe at rt.cpan.org or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-TicTacToe. I will be notified & then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Games::TicTacToe::Board

You can also look for information at:

LICENSE AND COPYRIGHT ^

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

DISCLAIMER ^

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: