The basic rules of Poker are simple: all hands have the same ranking and value. When a player has a straight hand, they must fold their bet. When a player has a flush, they must fold their hand. A flush is a group of five cards of the same suit. The high card wins if…