Poker is a card game in which players place bets and reveal their cards in…