Chess::Piece::Rook

An object representation of a rook in a game of chess
Download

Chess::Piece::Rook 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::Piece::Rook Tags


Chess::Piece::Rook Description

An object representation of a rook in a game of chess Chess::Piece::Rook is an object representation of a rook in a game of chess.SYNOPSIS $rook = Chess::Piece::Rook->new("a1", "white", "White Queen's rook"); $true = $rook->can_reach("h1"); $true = $rook->can_reach("a8"); $false = $rook->can_reach("d4");The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, representing a rook in a Chess::Game. Requirements: · Perl


Chess::Piece::Rook Related Software