Online Chess Club Screenshot h2h online chess game written in PHP

OCC allows to play any number of games simultaneously against your friends spread all over the world with nothing else but a simple web browser... provided you own some PHP-ready web space. OCC recognizes checkmate, stalemate and allows to draw a game. In addition, finished games will be archived. All games can be reviewed step by step.

License: free
Requirements: PHP-ready web server to set up a chess server and any (graphical) browser to play.

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnoyesyesnoyes
Suggest an update

Comments

This looks fun! About one week ago my brother suggested to play a game of chess via e-mail and just when I wanted to send him my first move this project was announced. I set it up today and already have games running against him and three more friends of mine. Plus, people who don't even know each other are playing against each other.
If you have a PHP-enabled web server at hand and can spare just a few minutes a day to plan some chess moves, you should give this program a try. I wonder how long it's gonna take for the first match to end...
Re: Great stuff posted by nilfilter on Nov 10 2003 3:34 PM
I might be a little slow again but I am always getting "Invalid username or password!" although I did set two users up. Too bad...
Re: Great stuff posted by inva on Nov 10 2003 6:00 PM
That's strange, it works fine for me. Did you set up the users just like it's described in the README? I.e., add username:0:0:0 to the "users" file and a "username" => "password" line to the $passwords hash in "accounts.php"? Do you have cookies enabled? Can you log in as dummy1 (password: removeme) if you leave the original distribution files unchanged?
Re: Great stuff posted by nilfilter on Nov 11 2003 5:48 AM
Hi inva,

Did you set up the users just like it's described in the README? I.e., add username:0:0:0 to the "users" file and a "username" => "password" line to the $passwords hash in "accounts.php"?
Yes

Do you have cookies enabled?
Yes

Can you log in as dummy1 (password: removeme) if you leave the original distribution files unchanged?
Yes

Also, all files are owned by the webserver user.

Re: Great stuff posted by inva on Nov 11 2003 8:58 AM
I don't get it. Why does it work with the predefined dummy users but not with yours? What makes your users different? I suspect you just forgot a comma or anything like that. I can't think of another explanation. Maybe anybody else can?
Re: Great stuff posted by nilfilter on Nov 11 2003 9:47 AM
I suspect you just forgot a comma
Well... ummm... err... that was it, thanks.
A pawn will not vanish when entering the last tile. It will now become a queen as it should be.

You do know the player can choose a different piece instead of a queen, do you? Of course, the queen is by far the most common choice, but sometimes a different piece is required, for example to avoid stalemate.

Re: Online Chess Club posted by inva on Nov 26 2003 3:37 PM
You can choose a piece by appending its identifier to the move specification, i.e. "Pb7-b8N" or just "b8N" will give you a knight instead of a queen.
I have to say you have done a nice job on this little chess program.

I saw it working at http://trillianchess.homelinux.com

Thanks

Hey I wanted to say thanks for a job well done.
I have modified the Online Chess Club source code and added a couple features such as allowing end users to register themselves. It is available on Storm's Shanty and a direct link to the playable install of my implementation of OCC is at http://storm.northwestcomputerservices.com
I just set this up for some of my friends/family and I to be able to make a few chess moves during the work day :-) It seems great so far, the interface is light and easy and the whole system is very simple to use and setup.

Email notification of moves would be nice, but I understand the reason(s) for not using them. I highly recommend it, at least for casual use.

Hez

thank you very much for offering this nice game for free!
i have translated it to german language and added registration and corrected some minor problems.

vielen dank für das kostenlose angebot dieses schönen spieles!
ich habe es ins deutsche übersetzt und registrierung hinzugefügt paar kleine probleme beseitigt.

http://Schach.Iaoue.de
Re: thank you very much! posted by anonymous on Jan 10 2006 7:10 PM
gibt es auch ein mysql version,damit die user sich selber reg. könnten??
Re: thank you very much! posted by anonymous on Feb 3 2006 1:32 PM
meine version ergänzt die accounts.php um neue nutzer,
wollte das kleine programm freihalten von mysql.

habe übrigens probleme mit dem laden von pgn-archiven+dateien.
wer kann helfen? das bild wird geladen, aber züge werden nicht angezeigt.

schach.iaoue.de
Re: thank you very much! posted by anonymous on Feb 4 2006 3:26 PM
kannst du mir mal deine version zuschicken...es ist so noob-mäsig wenn der admin die accounts selber erstellen muss.
Re: thank you very much! posted by anonymous on May 19 2006 7:47 AM
Ich habe mir Deine Version einmal angesehen. Du hast das sehr schön gemacht.

Ich bin dabei, das Script ins Deutsche umzustellen und habe jetzt gerade entdeckt, dass Du schon sehr viel Zeit in das Script gesteckt hast....

..die Arbeit kann ich mir sparen und die Zeit lieber in eine Weiterentwicklung stecken.

Könntest Du mir das Script per Mail einmal zuschicken?

[email protected]

Re: thank you very much! posted by anonymous on May 22 2006 6:15 AM
Hier ist meine Version:

Schach Club

Nice work!! And free!! But is so sad, that this project is'nt developering anymore. Sorry for my bad english skills.
excellent echiquier en ligne pour un petit club d'amis!!!. dommage qu'il soit en anglais seulement...
Re: occ posted by anonymous on Apr 10 2008 4:11 PM
Hello,

comment fait-on pour jouer dans ce système?

merci

Just saw everyone playing with occ, well I've also made some modifications, merged it with UseBB whoever is interested can check out http://checkpwns.net/
Hi, I have problem with login.

accounts.php

"a" );

/* ***** ADMINS ***** */ $admins = array ( "a" => "yes" );

/* ***** MAIL-ADDRESSES ***** */ $mail_addresses = array ( "a" => "[email protected]" ); ?>

Iam trying to logon, but it say me Invalid username or password! Please help me. Sorry,my Engl. is not perfect!

Lol, as if it matters.
some time ago I added AJAX to the coed to make it update in real time:

http://chess.xieke.com

Log in or register to rate this game or post a comment.