Evaluate the condition and return an outcome if the game should end.
an outcome if the game should end (i.e. it satisfies the condition), otherwise returns null.