Poker is a game of chance. Players are dealt five cards in a row. The highest pair wins, and if there is no pair, the second highest card wins. Similarly, if both players have a pair, a tie will break when the second highest card is higher than the first. This is the case for…