checks endgame