Poker is a card game in which players wager money on the chances of making a winning hand. The game…