Poker is a card game in which players place bets to win the pot. It is a game that requires…