What does gut shot mean in poker

broken image
broken image

}Thats the only way I can see this being done relatively easy, unless you want to do it as the cards are turned on the flop and such (which is a lot harder). Start at the end of the array and find the first non-zero element, thats the see if the highest card is an A, then royal flushĮlse //there is at least 2 cards of different suitĬount the number of times the cards appear in the hand and store in an arrayįind the first non-zero element, say at X If there is at least a pair of cards that are more than 5 away //ex - (5,J) it could be either straight flush or flush check for royal flush (check suit first), since its the best hand

Code: take 3 of the community cards and make the regular poker hand

broken image