Poker is a card game where players form the best hand based on card rankings and compete to win the pot at the end of each betting interval. The betting interval ends when all players have either raised the same amount of chips or dropped them. This is known as the showdown. There are a…