Poker is a card game in which players wager chips on the outcome of a…