Poker is a card game in which players bet on the probability of forming a…