Games::Chess::Referee

Games::Chess::Referee is a Perl module that can work with chess positions and games, according to the rules of chess.
Download

Games::Chess::Referee Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Gregor N. Purdy
  • Publisher web site:
  • http://search.cpan.org/~gregor/XPC-0.2/lib/XPC.pm

Games::Chess::Referee Tags


Games::Chess::Referee Description

Games::Chess::Referee is a Perl module that can work with chess positions and games, according to the rules of chess. Games::Chess::Referee is a Perl module that can work with chess positions and games, according to the rules of chess.SYNOPSIS use Games::Chess:Referee; new_game(); ply('e2e4'); ply('e7e5'); show_board(); move('d2d3', 'd7d6'); show_board();The Games::Chess:Referee module provides a mechanism to interpret (almost) standard algebraic chess notation and to print out the resulting positions. It makes use of the Games::Chess::Position and Games::Chess::Piece classes by Gareth Rees, adding the chess rules and move application functionality.ERROR HANDLINGWhere the code does complain, it uses the carp routine. The ply() and move() routines return zero on failure, one on success.Limitations:· In this very early version, many of the rules of chess are not yet implemented. The code is in a state of flux right now, as it is being reworked into a class from a simple afternoon proof of concept. See the README file and comments in the code for more information. Requirements: · Perl


Games::Chess::Referee Related Software