
3D Chess / looking for partner
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)<br />\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 *