NAME

Games::Go::AGA::DataObjects - a library of DataObjects for American Go Association (AGA) files

VERSION

version 0.107

SYNOPSIS

use Games::Go::AGA::DataObjects::Types;
use Games::Go::AGA::DataObjects::Player;
use Games::Go::AGA::DataObjects::Game;
use Games::Go::AGA::DataObjects::Round;
use Games::Go::AGA::DataObjects::Directives;
use Games::Go::AGA::DataObjects::Register;
use Games::Go::AGA::DataObjects::Tournament;

DESCRIPTION

Games::Go::AGA::DataObjects is a collection of perl objects to model various American Go Assocciation (AGA) data structures. Objects include:

Types.pm        library of type-checking constraints
Player.pm       a single player
Game.pm         two players plus some game-specific information
Round.pm        a list of games that make up a round of a tournament
Register.pm     a list of players plus some tournament-specific information
Directives.pm   a collection of register.tde directives
Tournament.pm   a Register object and a list of Rounds

Types contains methods for validating various data types.

Player stores information about a player.

Game stores information about a game.

Round models a tournament round: a collection of Games.

Directives models a collection of tournament directives as found in a register.tde file.

Register models a register.tde file: Directives and a collection of Players.

Tournament models a tournament: Register and a collection of Rounds.

Player, Round and Register provide fprint methods for printing themselves to a filehandle (in AGA format).

SEE ALSO

Games::Go::AGA::DataObjects::Types
Games::Go::AGA::DataObjects::Player
Games::Go::AGA::DataObjects::Game
Games::Go::AGA::DataObjects::Round
Games::Go::AGA::DataObjects::Directives
Games::Go::AGA::DataObjects::Register
Games::Go::AGA::DataObjects::Tournament

AUTHOR

Reid Augustin <reid@hellosix.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Reid Augustin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.