A game of poker is a card game in which players place bets and reveal…