Websockets based generic game server