### Introduction to the game of Poker

• The game of Poker

• How the game of Poker is played:

 Each player receives 5 cards The player with the best hand wins.

• Ranking of the Poker hands

• Ranking of Poker hands:

1. Royal Flush: A, K, Q, J, 10 of the same suit

Royal flush of different suit have the same rank

2. Straight Flush: 5 cards of consecutive ranks and of the same suit

Two "straight flushes" are ranked by the highest ranked card in the straight flush

3. Four of a kind: 4 cards of the same rank

Two "four of a kinds" are ranked by the rank of the card that appears 4 times in the hand

4. Full House: 3 cards of the same rank + 2 cards of the same rank

Two "full houses" are ranked by the rank of the card that appears 3 times in the hand

5. Flush: 5 cards of the same suit

Two "flushes" are ranked by the highest rank card in the flush hand

6. Straight: 5 cards of consecutive ranks and unmatched suits

Two "straights" are ranked by the highest rank card in the straight hand

7. Set (3 of a kind): 3 cards of the same rank + 2 unmatched cards

Two "sets" are ranked by the rank of the card that appears 3 times in the hand

8. Two pairs: two pairs of the same rank + 1 unmatched cards

Two "2 pairs" hands are ranked by the rank of highest pair of cards.

If they are the same, then the two "2 pairs" hands are ranked by the rank of lowest pair of cards.

And if they are also the same, then the two "2 pairs" hands are ranked by the rank of the unmatched card.

And if they are also the same, then the two "2 pairs" hands are ranked equally (a tie).

9. One pair: one pair of the same rank + 3 unmatched cards

Two "1 pair" hands are ranked by the rank of pair of cards.

If they are the same, then the two "1 pairs" hands are ranked by the rank of highest unmatched card.

And if they are also the same, then the two "1 pairs" hands are ranked by the rank of the second highest unmatched card.

And if they are also the same, then the two "1 pairs" hands are ranked by the rank of the lowest unmatched card.

And if they are also the same, then the two "1 pairs" hands are ranked equally (a tie).

10. Finally... high card: 5 unmatched cards

Two "high card" hands are ranked by the rank of highest rank card in the hand.

If they are also the same, then the two "high card" hands are ranked by the rank of the second highest (unmatched) card.

And if they are also the same, then the two "high card" hands are ranked by the rank of the third highest unmatched card.

And if they are also the same, then the two "high card" hands are ranked by the rank of the fourth highest unmatched card.

And if they are also the same, then the two "high card" hands are ranked by the rank of the lowest unmatched card.

And if they are also the same, then the two "high card" hands are ranked equally (a tie).

• Playing poker

• A number of players are dealt 5 cards each.

• The hands are then compared

• The highest ranked hand is the winner

• We do not simulate bluffing...

That's a whole different kind of subject altogether...