Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Games::Chess::Referee 0.003

    Download button

    No screenshots available
    Downloads: 457  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Gregor N. Purdy | More programs
    Perl Artistic License / FREE
    October 30th, 2007, 20:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 HANDLING

    Where 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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    chess positions | chess games | Perl module | chess | referee | games



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM