Poker is a card game that involves betting between players and determining which player has…