The dealer rolls five 6-sided dice.
DEALER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 1
|
π
|
One-Pair
|
|||||
This roll represents the dealerβs current βhandβ.
ID
|
Name
|
Description
|
Example
|
1
|
five-of-a-kind | all five dice show the same face value
|
|
2
|
four-of-a-kind | four dice show the same face value
|
|
3
|
straight
|
five consecutive values (e.g., 1-5 or 2-6)
|
|
4
|
full-house
|
three-of-a-kind plus a pair | |
5
|
three-of-a-kind | three dice show the same face value
|
|
6
|
two-pair
|
two distinct pairs | |
7
|
one-pair
|
a single pair
|
|
8
|
singles
|
no other pattern; highest single die decides
|
DEALER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 1
|
π
|
One-Pair
|
|||||
PLAYER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 1
|
π
|
Two-Pair
|
|||||
DEALER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 1
|
π
|
Two-Pair
|
|||||
roll 2
|
π
|
Three-of-a-Kind
|
|||||
PLAYER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 1
|
π
|
Two-Pair
|
|||||
roll 2
|
π
|
Two-Pair
|
|||||
DEALER
|
RANK
|
||||||
1
|
2
|
3
|
4
|
5
|
|||
roll 2
|
π
|
Three-of-a-Kind
|
|||||
roll 2
|
π
|
Two-Pair
|
|||||
1
|
2
|
3
|
4
|
5
|
|||
PLAYER
|
|||||||
roll = [1 2 3 3 3]
counts = [1 1 0 0 3 0]
% 1 2 3 4 5 6 <- the indices are the face values
TIED RANK
|
TIE-BREAK
|
EXAMPLE
|
five-of-a-kind
|
highest die value wins
|
|
four-of-a-kind
|
Highest four-of-a-kind die wins. If still tied, highest single die wins. |
|
full-house
|
Highest three-of-a-kind die wins. If still tied, highest pair die wins. |
|
straight
|
The 2-6 stright beats the 1-5 straight
|
|
three-of-a-kind
|
Highest three-of-a-kind die wins. If still tied, highest single die wins. |
|
two-pair
|
Highest pair die wins. If still tied, 2nd highest pair die wins. If still tied, highest single die wins. |
|
one-pair
|
Highest pair die wins. If still tied, highest single die wins. |
|
singles
|
Highest single die wins.
|
dealer = [3 3 3 6 6]; % full house (triple 3s)
player = [5 5 5 2 2]; % full house (triple 5s)
dealer = [6 6 4 4 1]; % two pair (6s and 4s), kicker 1
player = [6 6 3 3 5]; % two pair (6s and 3s), kicker 5