LinkBack Thread Tools Display Modes
  #1   Report Post  
Old December 21st 06, 08:34 AM posted to
external usenet poster
First recorded activity by ChessBanter: Dec 2006
Posts: 1
Default Move validation on webserver

Hey guys,
I'm running a correspondence chess community online where approx 2000
members are active per day playing their games. Everything is
programmed in PHP and Javascript, including the function to validate
each move, but now I need to optimise that particular part.

Question 1: Is it easy to make a "link" between my PHP-webserver
(apache) and a standalone app running in the background only validating
incoming moves? It's all run on a Debian Linux-machine.

Question 2: I know quite a bit of Java and C# (.Net/Mono) from before
which I know isn't the perfect match with linux. What do you think?

Question 3: My idea is to have the validation app taking a FEN-string
and the move, and returning a bool, whether it's correct or not. (or
maybe returning an error msg.) Would you say it's the right track?

Finally: Are there any open source libraries/classes available for
validating the chess rules? I've looked at the Crafty source, but of
course the easy way would be to find a library which only purpose is to
validate. I have code I wrote before, but it could be improved

If you have knowledge even in only one of these questions I would be
very greatful. Thanks for your time!


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interview with CJA Award Winning Historian in The Chess Journalist The Historian (Chess Politics) 215 November 16th 06 08:34 PM
Guy Macon's Longest Possible Game Of Chess Calculation Guy Macon (Computer Chess) 15 October 20th 06 11:44 PM
Thank God! Sam Sloan alt.chess (Alternative Chess Group) 11 August 12th 05 10:43 PM
Reply to Affidavit of Leroy Dubeck Sam Sloan alt.chess (Alternative Chess Group) 26 March 29th 05 04:44 PM

All times are GMT +1. The time now is 12:39 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ChessBanter.
The comments are property of their posters.

About Us

"It's about Chess"


Copyright © 2017