Poker is a card game in which players try to build the highest value hand…