restore game state once it finished.