def check_game_end(self):
if self.player in self.crashes.union(self.robots):<EOL><INDENT>return self.end_game('<STR_LIT>')<EOL><DEDENT>elif not self.robots:<EOL><INDENT>return self.end_game('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>return self<EOL><DEDENT>
Checks for the game's win/lose conditions and 'alters' the
        game state to reflect the condition found. If the game has not
        been won or lost then it just returns the game state
        unaltered.