Poker Hands
Five-card poker hands (sorted weakest to strongest):
-
High card:
the rank of the highest-rank card.
Example: hand 1 (5C, 2C, AS, 7S, 3S) has high card ace and hand 2 (8C, 6C, 7H, 9D, 4H) has high card nine, so hand 1 has a greater high card.
-
Pair:
the rank of two cards of the same rank.
Example: hand 1 (KD, 7S, 4S, 3H, KH) has a pair of kings and hand 2 (7C, 2H, QD, QH, JS) has a pair of queens, so hand 1 has a greater pair.
-
Two pairs:
the two ranks of two pairs.
Example: hand 1 (5H, 7C, 7D, 5C, 4S) has a pair of sevens and a pair of fives and hand 2 (KD, 3S, 3H, 8C, KC) has a pair of kings and a pair of threes, so hand 2 has a greater two pairs.
-
Three of a kind:
the rank of there cards of the same rank.
Example: hand 1 (AS, 10H, AH, AD, 3S) has three of a kind ace and hand 2 (9D, 9H, 5S, 3H, 9C) has three of a kind nine, so hand 1 has a greater pair.
-
Straight:
the highest rank of five cards of consecutive ranks; ace can count as the highest rank (above king) or the lowest rank (below two).
Example: hand 1 (5S, AH, 4H, 2C, 3S) has a five-high straight and hand 2 (10C, JC, QS, 9H, 8D) has a queen-high straight, so hand 2 has a greater straight.
-
Flush:
the highest rank of five cards of the same suit.
Example: hand 1 (JH, 6H, 3H, KH, 5H) has a king-high heart-flush and hand 2 (5S, 7S, 8S, 9S, 10S) is a ten-high spade-flush, so hand 1 has a greater flush.
-
Full house:
the rank of the three of a kind of five cards comprised of a three of a kind and a pair.
Example: hand 1 (2S, 2D, QH, QC, 2C) has full house of twos full of queens and hand 2 (7S, 7H, 4C, 4H, 7C) is a full house of sevens full fours, so hand 2 has a greater full house.
-
Four of a kind:
the rank of four cards of the same rank.
Example: hand 1 (KD, 3C, 3H, 3D, 3S) has a four of a kind of threes and hand 2 (4H, JS, JC, JD, JH) has a four of a kind of jacks, so hand 2 has a greater four of a kind.
-
Straight flush: the rank of the highest card in a straight that is also a flush.
Example: hand 1 (7H, 8H, JH, 10H, 9H) has a jack-high straight that is also a heart-flush and hand 2 (AS, JS, 10S, QS, 9S) has an ace-high straight that is also a spade-flush (aka. a royal spade-flush), so hand 2 has a greater four of a kind.
Note: A royal flush is an ace-high stright flush.
For example (AS, KS, QS, JS, 10S) is a royal flush of spades.
See also the Wikipedia page about poker hands.