Chess::Game::MoveListEntry

A read-only class containing move data, used by Chess::Game::MoveList to record a game.
Download

Chess::Game::MoveListEntry Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Brian Richardson
  • Publisher web site:
  • http://search.cpan.org/~bjr/Chess-0.6.0/lib/Chess/Game/MoveList.pm

Chess::Game::MoveListEntry Tags


Chess::Game::MoveListEntry Description

A read-only class containing move data, used by Chess::Game::MoveList to record a game. Chess::Game::MoveListEntry is a read-only class containing move data, used by Chess::Game::MoveList to record a game.SYNOPSIS$entry = Chess::Game::MoveListEntry->new(1, $pawn, "e2", "e4", 0); $one = $entry->get_move_num(); $pawn = $entry->get_piece(); $e2 = $entry->get_start_square(); $e4 = $entry->get_dest_square(); $false = $entry->is_capture(); $false = $entry->is_short_castle(); $false = $entry->is_long_castle(); $false = $entry->is_en_passant();The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, containing object data about a single move. Requirements: · Perl


Chess::Game::MoveListEntry Related Software