The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Chess::PGN::Moves - Perl extension for tabular data in support of Chess::PGN::EPD

SYNOPSIS

use PGN::Moves;

DESCRIPTION

These tables (as listed under EXPORT below) describe all of the possible moves for a given piece. The hash %from_algebraic provides quick translation from algebraic square notation to a more useful numeric index.

EXPORT

%King_Moves
%Queen_Moves
%Rook_Moves
%Bishop_Moves
%Knight_Moves
%from_algebraic
%move_table

DEPENDENCIES

Since this module doesn't contain any executable code, there are no actual dependencies. It is more likely that it would be used in concert with the following:

CHESS::PGN::EPD
CHESS::PGN::Parse

KNOWN BUGS

None known; Unknown? Of course, though I try to be neat...

AUTHOR

Hugh S. Myers

Always: hsmyers@sdragons.com