socrates Posted August 6, 2010 Posted August 6, 2010 Hello everyone, I made (with other people) a 2D/3D javascript chess game (demo: http://htmlchess.sourceforge.net/demo/example.html). I am looking for any chess enthusiast who has excellent knowledge of PHP who would like to join the project in order to make the chessboard able to connect to the Free International Chess Server (F.I.C.S.) to play against other users as well as against their machines. The thing itself would be pretty easy since the server uses a simple Telnet connection and simply replacing in the following script the words [uSERNAME] and [PASSWORD] with a valid username and password it's possible to login: <?php $fp = fsockopen("fics.freechess.org", 5000, $errno, $errstr, 300); if (!$fp) { echo "$errstr ($errno) \n"; } else { $out = "[uSERNAME]\r\n"; $out .= "[PASSWORD]\r\n"; fwrite($fp, $out); while (!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } ?> Unfortunately my knowledge of PHP is zero. :( I'd be really happy if someone offered himself to join the project. The javascript code provides all the tools (ajax, algebraic notation of moves, etc..) to realize this easily. There is only a condition: the code must be relased under GNU Public License, version 3. Thank you, * socrates * Quote
a_bertrand Posted August 7, 2010 Posted August 7, 2010 Well, I didn't checked the AI of the game, even if I doubt it could be that powerful due to Javascript limitations (size & speed). However it's impressive I wish you good luck! Quote
socrates Posted August 7, 2010 Author Posted August 7, 2010 The AI component is this: http://nanochess.110mb.com/chess4.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.