Poker is a game of chance in which players bet against each other based on…