Server side implementation for multiplayer chess game