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
| [reply] |
| [reply] |
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).
| [reply] |