Poker is a card game that requires both skill and luck to win. It is…