save the state of the game on the server when player game is done