remove the observer when the game ends