Poker is a card game that involves betting on the outcome of a hand. It’s…