Basically, the program deals 52 cards between 2 players. Each time you run the game it usually takes between 50 - 350 hands for the game to complete.
Sometimes, you'll get a game where the 2 players will get two alternating cards that beat the other player's card, so you'll get an infinite loop where player 1 wins the hand then player 2 wins the hand.
How can I catch when this happens so I can end it with a tie game?
Thanks