NAME

Chess4p, a library for chess related functionality.

SYNOPSIS

The functionality is split into these modules:

Chess4p::Perft

Perft calculation.

Chess4p::Pgn::Reader

Read PGN files.

Chess4p::Board

Essential board position functionality.

Chess4p::Move

Small and simple Move class.

Chess4p::Common

Constants needed by other modules.

DESCRIPTION

Features include legal move generation, perft testing, UCI move input/output, SAN move input/output and PGN parsing.

Planned features include EPD's, support for the Fischer Random variant, binary encoding of position and move.

For details, see the docs for the different sub-modules.

LIMITATIONS

Only 64-bit systems are supported.

SEE ALSO

The code is hosted here: https://codeberg.org/ejner/chess4p

AUTHOR

Ejner Borgbjerg <ejner@cpan.org>

COPYRIGHT

Copyright (c) 2026 Ejner Borgbjerg. All rights reserved. This module is Free Software. It may be modified and redistributed under the same terms as Perl itself.