Poker is a card game that involves betting between players in order to form a…