Poker is a card game played by two or more players. The objective is to…