Games::Go::CoordinateRepresents a board coordinate in the game of Go | |
Download |
Games::Go::Coordinate Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Marcel GrĂ¼nauer
- Publisher web site:
- http://search.cpan.org/~marcel/
Games::Go::Coordinate Tags
Games::Go::Coordinate Description
Represents a board coordinate in the game of Go Games::Go::Coordinate is a Perl module that represents a board coordinate in the game of Go.SYNOPSIS use Games::Go::Coordinate; my $c1 = Games::Go::Coordinate->new(x => 4, y => 3); my $c2 = Games::Go::Coordinate->new(x => 4, y => 10); if ($c2 gt $c1) { ... }This class represents a board coordinate in the game of Go. Coordinate objects can be compared (as strings) to see whether two ranks are equal or whether one rank is higher than the other. Coordinate objects stringify to the SGF notation (for example, (4,10) stringifies to dj. Requirements: · Perl
Games::Go::Coordinate Related Software