Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Re: Perl Chess Server

by jotti (Scribe)
on May 19, 2002 at 16:32 UTC ( [id://167673]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Perl Chess Server
in thread Perl Chess Server

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

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Perl Chess Server
by strat (Canon) on May 20, 2002 at 12:44 UTC
    On my scratchboard, I've put some code that allows you to enter moves and checks if they are legal (only promotion and castling over threatened fields are not yet implemented). If I've got more time, maybe there will be a cpan-module for it soon.
    If I remove it from my scratchpad, I'll either put it to CPAN or at least to my homepage, and update this message by putting a link here.

    Best regards,
    perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://167673]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found