Setting up a chess server
Posted: 04 Dec 2009, 13:29
Hi,
I want to set up my own free chess server to rival Yahoo (not in terms of player base, of course, but quality - no ads and more functionality), and I was thinking about using Winboard as a backend, doing all the move verification and PGN/FEN generation.
My preferred method of doing this would be with PHP but a lower level language can be used if necessary.
Moves would be sent to the serverside program in the format of "e2e4". The program would then communicate with Winboard - this is the bit I don't know how to do - who would either say "illegal move" or send back the updated board position and history.
Can anyone more experienced in programming with Winboard tell me what they think?
I have already set up a very basic test server but none of the rules of chess are implemented, which is where I think Winboard should come in. You can see this test at www.threeguesses.co.uk/chess.
Cheers,
Gus
I want to set up my own free chess server to rival Yahoo (not in terms of player base, of course, but quality - no ads and more functionality), and I was thinking about using Winboard as a backend, doing all the move verification and PGN/FEN generation.
My preferred method of doing this would be with PHP but a lower level language can be used if necessary.
Moves would be sent to the serverside program in the format of "e2e4". The program would then communicate with Winboard - this is the bit I don't know how to do - who would either say "illegal move" or send back the updated board position and history.
Can anyone more experienced in programming with Winboard tell me what they think?
I have already set up a very basic test server but none of the rules of chess are implemented, which is where I think Winboard should come in. You can see this test at www.threeguesses.co.uk/chess.
Cheers,
Gus