NAME
Move - Chess move class
SYNOPSIS
use Move;
my $move = Move->new($from, $to);
DESCRIPTION
Move objects encapsulate the obvious from/to square properties. Furthermore, optional property promotion piece.
METHODS
new($from, $to, $piece_type);
Constructor. Create a Move by from/to squares, and optional promotion piece type.
from()
Get the from square.
to()
Get the to square.
promotion()
Get the promotion piece type, or undefined if none.
uci()
Get the UCI move representation.
AUTHOR
Ejner Borgbjerg
LICENSE
Perl Artistic License, GPL