How to tell if a game ends in failure or success