Poker is a card game in which players bet on the strength of their hand.…