Source Link (GitHub): https://github.com/phpchess/phpchess
Try it (user: test01, test02,…, password: welcome1): http://cbprojs.com/phpchess/

phpChess is a php script that you can install on a shared hosting or dedicated server. It is written in php, Javascript and uses the mysql database. It is aimed mainly and clubs and schools, although we also have had larger organisations use it. Basically the script requieres a mysql database to be available. It has an installation script, players can register (and get either manually or automatically approved), you can hold manually managed tournaments, and you can play against the computer. You can review games that were played, create friendship groups and even clubs within the clubs.

Howerver the script is not perfect, and I am no longer actively working on it. You can find it on github, and you can fork it and create your own, no doubtedly imprvoed version.

One nice thing is that you can use API calls to interact with it. That means you can write your own client and phpChess will log the moves. There are many other gems (like being able to change the update timings (normally 10s per move, but it can go faster if you have the response timing on a dedicated server). What it isn’t is a real-time chess server. it is more near real-time Here a pictures: