Poker is a card game that involves betting between two or more players. Players must…