in reply to Perl Chess Server

I just had a look at http://sourceforge.net/search/ and searched for chess. Maybe there you could find some interesting stuff :-)

Best regards,
perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"

Replies are listed 'Best First'.
Re: Re: Perl Chess Server
by jotti (Scribe) on Apr 23, 2002 at 12:06 UTC
    Go to http://www.watson-net.com/free/perl/s_chess.asp I'm quite new at Perl but I'm working nevertheless on a Chess server. So far I have only some C++ code, but I decided to go Perl, because our sysadm doesn't like (for some reason) my server crashing C++ CGI apps.

    I've downloaded the chess.pl file from the site above, but as a newbie to perl I prefere to invent the wheel myself. I have an idea of how to refresh a window or a frame only when needed, like a chess board or a chat window.

    Johan Halmén

        Yes, that was exactly what I was looking for. A very good Perl script for running a chess board on one's server. It has a good routine that checks for legal moves. But it is not very user friendly, you have to type the coordinates of the move.

        But I have some Javascript code that reads user clicks in the chess board and outputs the very same coordinates (e.g. e2 and e4).