handle game restarting on the client