Implement game server and client