notify when game ends