Poker is a card game that requires a combination of skill and luck to win.…