WEBVTT
Kind: captions
Language: en

00:00:01.480 --> 00:00:06.680 align:start position:19%
What happens when you roll a die?
Okay, silly question. We all know that

00:00:05.200 --> 00:00:09.520 align:start position:19%
there are six things that can happen.
The numbers one through six all equally

00:00:08.440 --> 00:00:13.360 align:start position:19%
likely.
Slightly better question. What happens

00:00:11.560 --> 00:00:17.840 align:start position:19%
when you roll five dice?
As you increase the number of dice, the

00:00:14.640 --> 00:00:21.840 align:start position:19%
total goes from six to 21 to [music] 56
to 126

00:00:19.640 --> 00:00:25.080 align:start position:19%
and finally to 252 total [music]
outcomes. Although some are much more

00:00:23.600 --> 00:00:27.480 align:start position:19%
likely than others.
So, what happens when you play a game of

00:00:26.520 --> 00:00:31.720 align:start position:19%
Yahtzee?
Each turn you roll the dice three times

00:00:29.120 --> 00:00:35.480 align:start position:19%
for 756 total [music] situations you can
find yourself in in a given turn.

00:00:34.120 --> 00:00:38.645 align:start position:19%
Combine that with over 8,000
combinations of boxes on your card that

00:00:37.040 --> 00:00:42.080 align:start position:19%
you can fill out, each of which can
[music] have as many as billions of

00:00:39.800 --> 00:00:46.800 align:start position:19%
possible score combinations, and you get
over 385 billion ways to fill out a

00:00:45.160 --> 00:00:49.560 align:start position:19%
Yahtzee [music] score card.
Multiply these numbers together,

00:00:48.080 --> 00:00:53.240 align:start position:19%
throwing out the cases where the game is
already over, and you get

00:00:53.720 --> 00:00:56.720 align:start position:19%
259

00:00:57.800 --> 00:01:02.480 align:start position:19%
trillion
possible positions you might find

00:01:00.560 --> 00:01:05.000 align:start position:19%
yourself in in a game of Yahtzee. And
that's not even thinking about what your

00:01:03.560 --> 00:01:08.520 align:start position:19%
opponents are doing.
But what if I told you that despite all

00:01:06.560 --> 00:01:12.440 align:start position:19%
of that, a computer can play this game
perfectly? And you and I can come pretty

00:01:10.520 --> 00:01:15.640 align:start position:19%
close. To figure out how we can play
Yahtzee like a computer, we'll have to

00:01:13.880 --> 00:01:17.920 align:start position:19%
think like a computer. Starting from the
end of the game and working our way

00:01:16.920 --> 00:01:20.640 align:start position:19%
back.
We'll have to think about not only the

00:01:19.080 --> 00:01:24.200 align:start position:19%
best way to roll a small straight, but
also the best ways to think ahead and

00:01:22.400 --> 00:01:27.680 align:start position:19%
keep our options open. We'll see the
surprising ways in which some boxes are

00:01:25.880 --> 00:01:31.160 align:start position:19%
a lot more valuable than others. We'll
learn the one thing you should never do

00:01:29.040 --> 00:01:34.480 align:start position:19%
on your first turn, and by the end we'll
know what it takes to beat the entire

00:01:32.520 --> 00:01:38.600 align:start position:19%
human race in a winner-takes-all game of
Yahtzee. So, without further ado,

00:01:39.280 --> 00:01:44.400 align:start position:19%
let's get started.
First, a refresher on the rules of

00:01:42.400 --> 00:01:48.400 align:start position:19%
Yahtzee. You have five dice, which you
have to roll in various combinations to

00:01:46.040 --> 00:01:51.720 align:start position:19%
fill in 13 spots on the score card.
Each box has to be filled in exactly

00:01:49.880 --> 00:01:56.240 align:start position:19%
once during the game, so every game of
Yahtzee lasts 13 rounds.

00:01:53.960 --> 00:01:59.880 align:start position:19%
Each round you roll all five dice. Once
you do that, then you can choose some

00:01:57.560 --> 00:02:02.800 align:start position:19%
dice to keep and re-roll the rest.
Then you can re-roll a second time,

00:02:01.160 --> 00:02:06.040 align:start position:19%
again choosing whichever dice you want
to keep and re-roll.

00:02:04.360 --> 00:02:09.759 align:start position:19%
Once you finish three rolls, you have to
fill in one of the empty boxes on the

00:02:07.479 --> 00:02:12.280 align:start position:19%
scorecard with whatever you have.
You could fill in a box for something

00:02:10.800 --> 00:02:15.720 align:start position:19%
you don't have on your dice, but then
you have to put a zero.

00:02:14.080 --> 00:02:19.680 align:start position:19%
The 13 boxes on the card work as
follows. The top six boxes are for ones

00:02:18.160 --> 00:02:22.760 align:start position:19%
through sixes.
You can get as many of a particular

00:02:20.959 --> 00:02:26.280 align:start position:19%
number as you can, and then you add up
the dice of just that number to get

00:02:24.320 --> 00:02:29.680 align:start position:19%
points for that box.
There's also a bonus for the top

00:02:27.400 --> 00:02:34.320 align:start position:19%
section. If you get at least 63 points
in the number boxes, then you get a

00:02:31.280 --> 00:02:37.440 align:start position:19%
35-point bonus added to your score.
The bottom section has a bunch of

00:02:35.480 --> 00:02:41.600 align:start position:19%
specialized combination. There's three
of a kind and four of a kind where you

00:02:38.959 --> 00:02:45.720 align:start position:19%
need, well, three or four of a kind.
If you get one of these, you get points

00:02:43.240 --> 00:02:49.480 align:start position:19%
equal to the sum of all of the dice.
Next is full house. Like a full house in

00:02:47.520 --> 00:02:52.520 align:start position:19%
poker, you need three of one number and
two of another. This gives you 25

00:02:51.320 --> 00:02:56.000 align:start position:19%
points.
Then we have small straight, four

00:02:54.160 --> 00:02:59.120 align:start position:19%
numbers in a row, worth 30 points, and
large straight, five numbers in a row,

00:02:57.480 --> 00:03:02.560 align:start position:19%
worth 40 points.
Finally, there's the big one, the

00:03:00.440 --> 00:03:06.959 align:start position:19%
Yahtzee. If you get five of the same
number, you get 50 points.

00:03:04.840 --> 00:03:11.080 align:start position:19%
There's also a chance box at the bottom.
You can fill this in with the sum of

00:03:08.040 --> 00:03:14.400 align:start position:19%
your dice regardless of what's on them.
In addition to being the most valuable

00:03:12.440 --> 00:03:17.440 align:start position:19%
turn in the game, the Yahtzee is also
special for another reason. It's the

00:03:16.400 --> 00:03:21.120 align:start position:19%
only thing you're allowed to get
multiple times. If you get a Yahtzee

00:03:19.560 --> 00:03:24.519 align:start position:19%
after the Yahtzee box is already filled
in, then you get to fill in a different

00:03:22.880 --> 00:03:27.360 align:start position:19%
box according to some weird rules we
won't get into.

00:03:26.040 --> 00:03:30.800 align:start position:19%
If you fill in the full house, small
straight, or large straight using these

00:03:28.600 --> 00:03:33.720 align:start position:19%
rules, you get the full points, even
though your five of a kind wouldn't

00:03:31.959 --> 00:03:36.840 align:start position:19%
normally qualify.
If you filled in the Yahtzee box with a

00:03:35.000 --> 00:03:40.840 align:start position:19%
50 and not a zero, then you get a
100-point bonus for every additional

00:03:38.560 --> 00:03:43.880 align:start position:19%
Yahtzee that you roll.
Now, my first video was about

00:03:41.959 --> 00:03:47.320 align:start position:19%
Battleship. Yahtzee is a very different
game, but with a few key similarities.

00:03:45.880 --> 00:03:50.400 align:start position:19%
For one thing, both are basically
one-player games disguised as

00:03:48.640 --> 00:03:53.000 align:start position:19%
multiplayer games. You spend most of
your time working on your own, and then

00:03:51.680 --> 00:03:55.760 align:start position:19%
you compare your performance to your
opponent at the end.

00:03:54.520 --> 00:03:58.840 align:start position:19%
The other is that when I told people
that I was working on a strategy video,

00:03:57.520 --> 00:04:02.640 align:start position:19%
people were surprised to learn that the
game had much strategy at all. How are

00:04:00.920 --> 00:04:05.880 align:start position:19%
you supposed to make decisions or plans
when your results depend so much on some

00:04:04.280 --> 00:04:08.680 align:start position:19%
random dice roll?
It turns out there's a very involved

00:04:07.240 --> 00:04:11.760 align:start position:19%
strategy to this game, and it starts
with some calculations. If you're just

00:04:10.480 --> 00:04:15.400 align:start position:19%
here to crush your family members at
Yahtzee, feel free to skip ahead to the

00:04:13.200 --> 00:04:18.320 align:start position:19%
timestamp down here, but I think the
math is cool, and this is my video. So,

00:04:17.120 --> 00:04:22.000 align:start position:19%
the rest of you are stuck in here with
me for the next few minutes.

00:04:20.320 --> 00:04:25.360 align:start position:19%
To understand Yahtzee, we first have to
understand dice.

00:04:23.720 --> 00:04:30.640 align:start position:19%
When you roll five dice, the number of
outcomes is 6 * 6 * 6

00:04:29.320 --> 00:04:36.520 align:start position:19%
* 6
* 6 or 7,776.

00:04:34.960 --> 00:04:41.320 align:start position:19%
But, the number of different outcomes is
a lot less, only 252, since we only care

00:04:39.440 --> 00:04:44.800 align:start position:19%
about how many of each number show up,
and not which die gives which number.

00:04:43.880 --> 00:04:48.520 align:start position:19%
That doesn't mean that each of the
outcomes is equally likely. For cases

00:04:46.880 --> 00:04:52.080 align:start position:19%
with all dice the same, or just a
Yahtzee, there's only one way for that

00:04:50.520 --> 00:04:55.600 align:start position:19%
outcome to occur.
For cases with all dice different,

00:04:53.680 --> 00:05:00.720 align:start position:19%
including both large straights, there
are a lot more ways, 120 to be exact.

00:04:58.880 --> 00:05:03.440 align:start position:19%
This means that you are 40 times more
likely to get a large straight on your

00:05:02.240 --> 00:05:05.919 align:start position:19%
first roll than you are to get a
Yahtzee,

00:05:04.520 --> 00:05:09.040 align:start position:19%
even though there are six ways to get a
Yahtzee, but only two ways to get a

00:05:07.440 --> 00:05:12.280 align:start position:19%
large straight.
Other combinations of dice can have

00:05:10.560 --> 00:05:15.200 align:start position:19%
different frequency.
Rerolls definitely change the math

00:05:13.919 --> 00:05:18.919 align:start position:19%
around which of these outcomes are the
most likely, but the game strategy is

00:05:17.240 --> 00:05:23.040 align:start position:19%
going to depend a lot on which of these
outcomes can be achieved in the most

00:05:20.600 --> 00:05:23.040 align:start position:19%
ways.

00:05:23.440 --> 00:05:28.640 align:start position:19%
Now, first a few caveats on that perfect
play thing that I mentioned. I don't

00:05:27.240 --> 00:05:32.480 align:start position:19%
mean that we can get the best possible
score every time. We still have to rely

00:05:30.720 --> 00:05:35.320 align:start position:19%
on the dice, after all.
I also don't mean that we're optimizing

00:05:33.840 --> 00:05:39.400 align:start position:19%
for beating certain opponents, although
we'll talk about how to do that later.

00:05:37.440 --> 00:05:42.960 align:start position:19%
Instead, we're using a computer science
technique called dynamic programming to

00:05:41.000 --> 00:05:46.440 align:start position:19%
make every possible decision in a way
that maximizes our average points over

00:05:44.840 --> 00:05:49.480 align:start position:19%
the course of the game.
If you're worried that you accidentally

00:05:47.800 --> 00:05:52.880 align:start position:19%
on a video trying to teach computers to
play Yahtzee, don't worry. This is just

00:05:51.440 --> 00:05:56.800 align:start position:19%
what we need to do to figure out good
strategies for humans to use.

00:05:55.360 --> 00:06:00.480 align:start position:19%
So, here's the plan.
We start at the end of the game and work

00:05:58.400 --> 00:06:04.240 align:start position:19%
backwards. After your last roll on your
last turn, you just fill in whichever

00:06:02.400 --> 00:06:06.600 align:start position:19%
box is open and you get some points for
it.

00:06:05.240 --> 00:06:09.880 align:start position:19%
So, what do we do on the second re-roll
of our last turn?

00:06:08.080 --> 00:06:13.720 align:start position:19%
Well, once we choose which dice to roll,
we can figure out the chances of every

00:06:11.360 --> 00:06:17.280 align:start position:19%
possible outcome after the re-roll. We
take these probabilities, multiply by

00:06:15.360 --> 00:06:20.440 align:start position:19%
the points we get in each case, and add
the results together to get the average

00:06:18.840 --> 00:06:23.960 align:start position:19%
number of points we'll get if we re-roll
those specific dice.

00:06:22.520 --> 00:06:26.840 align:start position:19%
We can do this for every possible group
of dice to re-roll.

00:06:25.640 --> 00:06:29.480 align:start position:19%
And whichever gives us the biggest
number is the group that we should

00:06:28.280 --> 00:06:32.160 align:start position:19%
re-roll.
And if you're not an expert at

00:06:30.400 --> 00:06:35.400 align:start position:19%
calculating probabilities in your head,
then again, that's mostly what the

00:06:33.400 --> 00:06:38.160 align:start position:19%
computer is for.
Once we've done this for every possible

00:06:36.800 --> 00:06:42.040 align:start position:19%
position we could be in before the
second re-roll, we can go back a step to

00:06:40.480 --> 00:06:45.760 align:start position:19%
the first re-roll.
For every possible roll of the dice, we

00:06:43.880 --> 00:06:49.200 align:start position:19%
see how many points we get. But instead
of using the final points, we use the

00:06:47.560 --> 00:06:52.680 align:start position:19%
average points that we just calculated
from our second re-roll.

00:06:51.000 --> 00:06:57.000 align:start position:19%
We again choose the dice to re-roll to
maximize the average points, and we keep

00:06:54.720 --> 00:07:00.600 align:start position:19%
track of what that average is.
We can then average over all possible

00:06:58.720 --> 00:07:05.000 align:start position:19%
first rolls to get the expected score
before the beginning of the last turn.

00:07:03.200 --> 00:07:07.960 align:start position:19%
From there, we can keep going back to
the previous turn.

00:07:06.360 --> 00:07:11.240 align:start position:19%
Now, we might have a decision to make at
the end of the turn for which box to

00:07:09.400 --> 00:07:14.280 align:start position:19%
fill in, but we can make that decision
the same way as before.

00:07:13.000 --> 00:07:17.760 align:start position:19%
We get the average points for each
possible decision. In this case, that's

00:07:16.320 --> 00:07:21.040 align:start position:19%
the points we get for this turn plus the
average points starting next turn,

00:07:19.760 --> 00:07:23.680 align:start position:19%
and make the decision with the highest
average.

00:07:22.240 --> 00:07:27.760 align:start position:19%
We then do the same thing for the second
re-roll of turn 12, then the first

00:07:25.640 --> 00:07:31.440 align:start position:19%
re-roll of turn 12, then go back to turn
11 and keep going.

00:07:29.720 --> 00:07:35.040 align:start position:19%
At every step, we get the average points
until the end of the game for every

00:07:32.919 --> 00:07:37.840 align:start position:19%
possible position that we can be in, so
that we're ready to do the calculations

00:07:36.440 --> 00:07:41.040 align:start position:19%
when we have to calculate the previous
step.

00:07:39.360 --> 00:07:45.480 align:start position:19%
Once we get back to the the of the game,
we'll have calculated a full strategy.

00:07:44.040 --> 00:07:48.200 align:start position:19%
Now, you may remember from the beginning
of this video that the number of

00:07:46.600 --> 00:07:51.760 align:start position:19%
possible positions in a game of Yahtzee
is 259 trillion.

00:07:50.440 --> 00:07:54.320 align:start position:19%
If you're not familiar with programming,
that number probably sounds impossibly

00:07:53.280 --> 00:07:56.680 align:start position:19%
large.
If you're a bit familiar with

00:07:55.160 --> 00:08:00.120 align:start position:19%
programming, you know that giant numbers
are much more manageable. If you're more

00:07:58.600 --> 00:08:05.240 align:start position:19%
familiar with programming, you know that
259 trillion is manageable if you happen

00:08:02.920 --> 00:08:08.360 align:start position:19%
to have access to a supercomputer.
I do not have access to a supercomputer.

00:08:06.840 --> 00:08:12.200 align:start position:19%
I am an aspiring YouTuber who tried to
buy a desktop when people were hoarding

00:08:09.840 --> 00:08:15.440 align:start position:19%
land like it was toilet paper in 2020.
But, it turns out that if we're careful,

00:08:13.840 --> 00:08:19.280 align:start position:19%
we can simplify the problem a lot
because a lot of these positions might

00:08:16.760 --> 00:08:22.680 align:start position:19%
as well be the same.
Take a look at these two scorecards. In

00:08:21.080 --> 00:08:25.760 align:start position:19%
both positions, we have the same boxes
filled in.

00:08:23.680 --> 00:08:29.360 align:start position:19%
We also have 33 points total and nine
points in the top section. Meaning we

00:08:27.560 --> 00:08:32.120 align:start position:19%
need another 54 points to get the top
section bonus.

00:08:30.760 --> 00:08:36.039 align:start position:19%
For our purposes, these might as well be
the same scorecard. Nothing about our

00:08:34.039 --> 00:08:38.719 align:start position:19%
score or our strategy changes between
the two.

00:08:37.440 --> 00:08:42.000 align:start position:19%
So, it turns out that we can get all the
information we care about for our

00:08:40.039 --> 00:08:45.760 align:start position:19%
Yahtzee card from just a few pieces of
information. Which boxes are filled in,

00:08:44.520 --> 00:08:49.200 align:start position:19%
our score in the top section for
figuring out the bonus, our score in the

00:08:47.560 --> 00:08:52.680 align:start position:19%
bottom section, and the number of
Yahtzees we've gotten so far.

00:08:51.240 --> 00:08:55.920 align:start position:19%
This reduces the number of positions
substantially, all the way down to 80

00:08:54.480 --> 00:08:59.680 align:start position:19%
billion.
Now, we're in the realm of numbers

00:08:57.200 --> 00:09:02.520 align:start position:19%
computers can deal with eventually.
I was able to generate all of the

00:09:00.920 --> 00:09:06.480 align:start position:19%
positions, but actually calculating
anything took days at a time. So, I had

00:09:04.600 --> 00:09:09.880 align:start position:19%
to simplify further.
Thankfully, it turns out that if we're

00:09:07.760 --> 00:09:12.480 align:start position:19%
only trying to maximize average points,
there's a lot more information we can

00:09:11.280 --> 00:09:15.760 align:start position:19%
throw out.
Because we're calculating our average

00:09:13.760 --> 00:09:18.680 align:start position:19%
scores by thinking into the future, we
only need to think about the parts of

00:09:17.040 --> 00:09:22.000 align:start position:19%
our card that affect our ability to get
future points.

00:09:20.800 --> 00:09:25.800 align:start position:19%
We still care about which boxes are
filled in, but we can throw out a lot of

00:09:23.920 --> 00:09:29.320 align:start position:19%
other information. We don't need the
number of Yahtzees. We just need to know

00:09:27.560 --> 00:09:32.800 align:start position:19%
whether we are eligible for future
100-point bonuses.

00:09:31.240 --> 00:09:36.160 align:start position:19%
We only care about the top section score
if it's less than 63.

00:09:34.680 --> 00:09:40.560 align:start position:19%
Once we get the bonus, we don't care if
we have 63 points or 93. The only thing

00:09:38.880 --> 00:09:43.920 align:start position:19%
that affects our future points is which
boxes are still open.

00:09:42.640 --> 00:09:47.360 align:start position:19%
We don't need the bottom section score
at all. Once we know which boxes are

00:09:45.720 --> 00:09:50.400 align:start position:19%
open, we have all the information we
need.

00:09:48.640 --> 00:09:55.120 align:start position:19%
Once we make these simplifications, our
number of positions goes from 80 billion

00:09:52.520 --> 00:09:58.520 align:start position:19%
all the way down to 405 million. And
suddenly, we can get everything we need

00:09:57.040 --> 00:10:01.920 align:start position:19%
to figure out how to play the best
possible game of Yahtzee.

00:10:00.320 --> 00:10:07.080 align:start position:19%
That starts with our average number of
points per game if we play perfectly.

00:10:04.200 --> 00:10:09.480 align:start position:19%
Just a bit under 255.
Now that we've talked through where our

00:10:07.960 --> 00:10:12.880 align:start position:19%
strategy is coming from, we can get into
the strategy itself. We're going to take

00:10:11.400 --> 00:10:16.240 align:start position:19%
a similar approach to the computer.
Start at the end and work our way back.

00:10:15.000 --> 00:10:18.720 align:start position:19%
It's much easier to think about what to
do with the end of the game when there

00:10:17.440 --> 00:10:21.600 align:start position:19%
are fewer things we're trying to do at
once. Then, once we talk through the

00:10:20.440 --> 00:10:25.640 align:start position:19%
later stages of the game, it will be
much easier to make sense of why we're

00:10:23.120 --> 00:10:29.240 align:start position:19%
making certain decisions earlier on.
Fair warning, there's a lot here. We

00:10:27.560 --> 00:10:32.760 align:start position:19%
could probably study everything in this
video and memorize a bunch of cases, but

00:10:31.280 --> 00:10:37.120 align:start position:19%
I'm mostly hoping that people will take
away a better feel for the game and the

00:10:34.280 --> 00:10:40.120 align:start position:19%
decision-making skills that go with it.
With that in mind, let's start at the

00:10:38.280 --> 00:10:43.839 align:start position:19%
end. On the last turn of the game, we'll
be going all out trying to fill in one

00:10:41.800 --> 00:10:47.240 align:start position:19%
specific box. Let's figure out what we
need to do for each one, starting with

00:10:45.320 --> 00:10:50.240 align:start position:19%
the easiest cases. We're going to ignore
bonuses that you get for extra Yahtzees

00:10:48.800 --> 00:10:53.440 align:start position:19%
and just focus on getting the thing in
each box.

00:10:51.560 --> 00:10:56.960 align:start position:19%
If your last box is in the top section,
the strategy is straightforward. Keep

00:10:55.360 --> 00:11:00.200 align:start position:19%
every die with the number that you need,
reroll everything else.

00:10:58.680 --> 00:11:03.400 align:start position:19%
After three rolls, you'll get about two
of your given number on average. Here's

00:11:02.080 --> 00:11:07.240 align:start position:19%
how often you'll get each number of your
given value. If you need two, you're in

00:11:05.320 --> 00:11:10.160 align:start position:19%
decent shape. If you need three or more,
you'll need some luck.

00:11:08.920 --> 00:11:13.240 align:start position:19%
The strategy for getting a Yahtzee is
pretty similar. Just keep whichever

00:11:11.839 --> 00:11:17.160 align:start position:19%
number you have the most of and reroll
the rest. If there's a tie, just choose

00:11:15.200 --> 00:11:20.080 align:start position:19%
which value to keep. Notice that this
might change from your first reroll to

00:11:18.640 --> 00:11:23.720 align:start position:19%
your second.
Unfortunately, your chances of actually

00:11:21.400 --> 00:11:26.320 align:start position:19%
getting a Yahtzee are less than 5%. So,
hopefully you're not counting on this to

00:11:24.920 --> 00:11:29.560 align:start position:19%
win.
Now, you'd think that the next simplest

00:11:27.640 --> 00:11:33.880 align:start position:19%
cases are three and four of a kind, but
they're actually more complicated for

00:11:30.839 --> 00:11:36.600 align:start position:19%
weird reasons. We'll get to them later.
Full house is pretty straightforward.

00:11:35.440 --> 00:11:39.800 align:start position:19%
You should keep pretty much any groups
of dice that you have. If you get two

00:11:38.320 --> 00:11:43.120 align:start position:19%
pairs, three of a kind, or a single
pair, you should keep those dice and

00:11:41.360 --> 00:11:46.280 align:start position:19%
re-roll the rest. If you get four of a
kind, you should keep three of them and

00:11:44.480 --> 00:11:49.240 align:start position:19%
re-roll the other two.
The chance of successfully filling in

00:11:47.600 --> 00:11:52.720 align:start position:19%
the full house box on your last turn is
about one in three.

00:11:51.480 --> 00:11:56.560 align:start position:19%
Getting a bit more complicated is the
large straight. There are two ways to

00:11:54.560 --> 00:12:01.120 align:start position:19%
get a large straight. One through five
or two through six. Or to put it another

00:11:58.680 --> 00:12:04.440 align:start position:19%
way, you need two, three, four, five,
and either one or six. So, the strategy

00:12:03.160 --> 00:12:07.600 align:start position:19%
looks like this.
If you roll a two, three, four, or five,

00:12:06.120 --> 00:12:10.400 align:start position:19%
then keep one of each.
For one or six, it's a bit more

00:12:08.720 --> 00:12:13.560 align:start position:19%
complicated. You should never keep more
than one, but if it allows you to keep

00:12:12.000 --> 00:12:16.200 align:start position:19%
at least four dice, then you should keep
a one or a six.

00:12:14.960 --> 00:12:19.480 align:start position:19%
If you would be keeping three or fewer
dice, then you're better off re-rolling

00:12:17.880 --> 00:12:23.440 align:start position:19%
all of your ones and sixes because the
increase in combinations helps more than

00:12:21.640 --> 00:12:26.080 align:start position:19%
keeping the extra die.
Doing this strategy will get you the

00:12:24.680 --> 00:12:30.080 align:start position:19%
large straight box about a quarter of
the time.

00:12:28.000 --> 00:12:33.200 align:start position:19%
The small straight adds more complexity.
There are now three ways to get it. One

00:12:31.680 --> 00:12:36.280 align:start position:19%
through four, two through five, and
three through six. Plus, there's an

00:12:34.640 --> 00:12:39.280 align:start position:19%
extra die that doesn't get used adding
to the number of combinations.

00:12:37.920 --> 00:12:42.720 align:start position:19%
You still always need a three and a
four, but the other dice are more

00:12:40.960 --> 00:12:44.920 align:start position:19%
complicated. You should re-roll
everything if you don't have a three or

00:12:44.000 --> 00:12:47.640 align:start position:19%
four.
If you do have threes or fours, you

00:12:46.120 --> 00:12:49.920 align:start position:19%
should keep one of each, as well as one
each of your twos and fives if you have

00:12:49.120 --> 00:12:53.000 align:start position:19%
any.
You should keep a one if you have a one

00:12:51.280 --> 00:12:55.640 align:start position:19%
and two but no five, and you should keep
a six if you have a five and six but no

00:12:54.720 --> 00:12:58.000 align:start position:19%
two.
Your chances of filling the small

00:12:56.720 --> 00:13:01.040 align:start position:19%
straight box if you do this are pretty
good. That's why small straight is one

00:12:59.760 --> 00:13:04.200 align:start position:19%
of the better boxes to leave around
until the end.

00:13:03.120 --> 00:13:07.760 align:start position:19%
The next one is fun from a math
perspective, chance. Since we only care

00:13:06.640 --> 00:13:11.280 align:start position:19%
about getting the highest total
possible, we can treat each die

00:13:09.360 --> 00:13:14.080 align:start position:19%
individually. How do we decide which
ones to re-roll?

00:13:12.720 --> 00:13:17.480 align:start position:19%
In the spirit of doing things backwards,
let's do the second re-roll first. If

00:13:16.080 --> 00:13:20.800 align:start position:19%
you roll a die, the average value that
you get is three and a half. This helps

00:13:19.480 --> 00:13:23.760 align:start position:19%
us to think about what to roll on our
second re-roll.

00:13:22.240 --> 00:13:26.880 align:start position:19%
For each die above three and a half, it
would get lower on average if we

00:13:25.120 --> 00:13:29.920 align:start position:19%
re-rolled it. For each die below three
and a half, it would get higher on

00:13:28.160 --> 00:13:33.560 align:start position:19%
average. So, we should re-roll the ones,
twos, and threes and keep the fours,

00:13:31.560 --> 00:13:37.720 align:start position:19%
fives, and sixes.
Averaging all these out gives 4.25

00:13:35.880 --> 00:13:41.560 align:start position:19%
points on average. Why do we care about
this number? Well, we need it to figure

00:13:39.320 --> 00:13:45.240 align:start position:19%
out what to do on our first re-roll.
After one roll, we know that any die we

00:13:43.400 --> 00:13:49.480 align:start position:19%
re-roll will have two chances to give us
a higher number. This means that any die

00:13:47.080 --> 00:13:51.960 align:start position:19%
we re-roll will now give us that 4.25 on
average instead of just three and a

00:13:50.800 --> 00:13:55.160 align:start position:19%
half.
This means that we now want to re-roll

00:13:53.040 --> 00:13:58.800 align:start position:19%
the four as well as the one, two, three
and keep the five and the six.

00:13:57.360 --> 00:14:02.880 align:start position:19%
So, some complicated math gives us a
simple strategy. Keep fives and sixes on

00:14:01.000 --> 00:14:05.920 align:start position:19%
your first re-roll and fours, fives, and
sixes on your second.

00:14:04.720 --> 00:14:11.080 align:start position:19%
Doing it this way gives you an average
of four and two-thirds per die or 23 and

00:14:08.520 --> 00:14:14.480 align:start position:19%
a third total per chance.
That brings up our most complicated

00:14:12.280 --> 00:14:17.720 align:start position:19%
cases, the three and four of a kind. At
first, they seem like they should be

00:14:15.760 --> 00:14:21.520 align:start position:19%
simple. Just try for as many of a number
as possible. And if your only goal is to

00:14:19.560 --> 00:14:24.160 align:start position:19%
put something in those boxes, then it is
that easy. We do basically the same

00:14:23.200 --> 00:14:26.720 align:start position:19%
thing as if we were trying for a
Yahtzee.

00:14:25.320 --> 00:14:30.839 align:start position:19%
But, if we want to play perfectly, these
boxes are a little weird. The score for

00:14:28.840 --> 00:14:34.040 align:start position:19%
these boxes is the sum of the dice.
Because of that, they combine the all or

00:14:32.560 --> 00:14:38.160 align:start position:19%
nothing nature of full house, Yahtzee,
and the streets with the score

00:14:35.560 --> 00:14:41.920 align:start position:19%
maximizing of chance. To get this right,
we have to combine the two approaches in

00:14:39.680 --> 00:14:45.120 align:start position:19%
sometimes counter-intuitive ways.
Starting with the four of a kind, the

00:14:43.200 --> 00:14:48.720 align:start position:19%
last roll is mostly what you expect.
Keep whatever you have the most of.

00:14:47.040 --> 00:14:52.200 align:start position:19%
If you already have a four of a kind,
then you re-roll your last die if it's

00:14:50.160 --> 00:14:55.760 align:start position:19%
three or less to try to get more points.
The first roll, however, is a bit

00:14:53.640 --> 00:14:58.960 align:start position:19%
strange. If you have four of a kind, you
should keep it and re-roll the other die

00:14:57.200 --> 00:15:01.640 align:start position:19%
if it's a five, but otherwise, it
depends a lot on which numbers you have

00:15:00.440 --> 00:15:04.680 align:start position:19%
the most of.
Because our points come from the sum of

00:15:03.000 --> 00:15:08.440 align:start position:19%
the dice, we care about the chance of
success, but also the value of those

00:15:06.640 --> 00:15:12.880 align:start position:19%
dice if we succeed.
Because of that, we sometimes want fewer

00:15:10.400 --> 00:15:16.480 align:start position:19%
larger dice over more smaller ones.
If we have, for example, three ones and

00:15:14.520 --> 00:15:20.560 align:start position:19%
two sixes, our chances of success will
be highest for keeping the ones.

00:15:18.560 --> 00:15:24.440 align:start position:19%
However, we will get significantly fewer
points on average if we get four ones

00:15:22.400 --> 00:15:27.840 align:start position:19%
compared to four sixes. Because of this,
the average number of points that we get

00:15:25.840 --> 00:15:30.640 align:start position:19%
overall is actually higher if we keep
the sixes.

00:15:29.240 --> 00:15:35.000 align:start position:19%
In fact, there are several cases where
it's best to choose fewer of a larger

00:15:32.160 --> 00:15:37.960 align:start position:19%
number instead of more of a smaller one.
Even though we're not quite trying to

00:15:36.080 --> 00:15:41.560 align:start position:19%
maximize our chances, we end up with a
28% chance of getting four of a kind

00:15:40.200 --> 00:15:44.280 align:start position:19%
with an average score of about six
points.

00:15:42.720 --> 00:15:47.400 align:start position:19%
Three of a kind is similar. On the
second reroll, just keep whatever you

00:15:45.680 --> 00:15:51.000 align:start position:19%
have the most of. If you already have
three of a kind, reroll the other two

00:15:49.080 --> 00:15:54.160 align:start position:19%
dice if they're less than four.
On the first roll, we again usually want

00:15:52.520 --> 00:15:58.080 align:start position:19%
to keep the number we have the most of,
but there are a lot of exceptions.

00:15:56.040 --> 00:16:02.080 align:start position:19%
Using this strategy gives us a 71%
chance of getting three of a kind and an

00:15:59.840 --> 00:16:05.000 align:start position:19%
average of 15 points.
Now, that was a lot for just the last

00:16:03.560 --> 00:16:07.880 align:start position:19%
turn of the game, but hopefully it helps
with a few things.

00:16:06.480 --> 00:16:11.560 align:start position:19%
First, these strategies can work on any
turn, not just the last one. Earlier on,

00:16:10.200 --> 00:16:15.160 align:start position:19%
we often care more about keeping our
options open and having a backup plan if

00:16:13.320 --> 00:16:18.440 align:start position:19%
our strategy doesn't work out, but once
you decide what box you're going for,

00:16:16.880 --> 00:16:21.240 align:start position:19%
the strategies work the same way at any
time of the game.

00:16:19.880 --> 00:16:24.480 align:start position:19%
Second, this hopefully gives a sense of
which boxes are easier or hard, which

00:16:23.280 --> 00:16:27.960 align:start position:19%
helps us to think about what we should
focus on earlier in the game. That

00:16:26.560 --> 00:16:32.000 align:start position:19%
brings us to the middle game, which
focuses on which boxes to prioritize as

00:16:29.960 --> 00:16:35.640 align:start position:19%
our options start to narrow.
We talked about how the average points

00:16:33.320 --> 00:16:37.360 align:start position:19%
using this strategy is 255, but that
doesn't tell the whole story.

00:16:36.921 --> 00:16:41.520 align:start position:19%
&gt;&gt; [music]
&gt;&gt; Here's a histogram of how often every

00:16:39.040 --> 00:16:44.400 align:start position:19%
score is achieved using our strategy.
This plot has a lot more peaks and

00:16:42.640 --> 00:16:46.920 align:start position:19%
valleys than we might expect, and it
turns out that [music] understanding

00:16:45.440 --> 00:16:51.040 align:start position:19%
these peaks and valleys is key to
understanding the strategy here.

00:16:48.880 --> 00:16:53.720 align:start position:19%
Where exactly do these come from?
Well, the two on the right are more

00:16:52.000 --> 00:16:57.000 align:start position:19%
straightforward. This one comes from
getting a 100-point Yahtzee bonus, and

00:16:55.240 --> 00:16:59.800 align:start position:19%
this one comes from getting two.
There are a lot more bumps like these

00:16:58.160 --> 00:17:02.520 align:start position:19%
from getting more and more Yahtzees, but
the rest are too small to see on this

00:17:01.240 --> 00:17:04.640 align:start position:19%
plot.
But, what about the rest of these bumps?

00:17:04.431 --> 00:17:07.079 align:start position:19%
&gt;&gt; [music]
&gt;&gt; Why do we get all these little peaks

00:17:05.920 --> 00:17:09.120 align:start position:19%
with the pair of big peaks in the
middle?

00:17:08.079 --> 00:17:12.720 align:start position:19%
That comes down to what I'm going to
call the big bonuses and little bonuses

00:17:11.120 --> 00:17:15.880 align:start position:19%
in this game.
The top section boxes and chance on

00:17:14.160 --> 00:17:18.520 align:start position:19%
their own are unlikely to make or break
your game.

00:17:17.000 --> 00:17:21.520 align:start position:19%
The difference between a good and a bad
score in those boxes is usually just a

00:17:20.199 --> 00:17:24.680 align:start position:19%
few points.
But there are eight bonuses in this game

00:17:22.880 --> 00:17:28.120 align:start position:19%
that are sort of all or nothing.
Meaning that getting one or not can

00:17:26.199 --> 00:17:30.960 align:start position:19%
really swing the game.
These bonuses are actually so important

00:17:29.760 --> 00:17:34.280 align:start position:19%
that I'm going to create a new point
system just to talk about them.

00:17:32.800 --> 00:17:38.120 align:start position:19%
The biggest is the 100 point Yahtzee
bonus. This is so massive that it

00:17:36.120 --> 00:17:40.920 align:start position:19%
belongs in its own category, worth four
bonus points in our system.

00:17:39.880 --> 00:17:45.040 align:start position:19%
If you get one of these and your
opponents don't, you're very likely to

00:17:42.840 --> 00:17:48.960 align:start position:19%
win. But they're also rare, so it's not
usually worth it to try for these.

00:17:47.560 --> 00:17:52.920 align:start position:19%
But the rest can be divided into big
bonuses and small bonuses. [music]

00:17:50.840 --> 00:17:56.960 align:start position:19%
The big ones, worth two points each, are
the top section bonus, large straight,

00:17:54.960 --> 00:18:00.520 align:start position:19%
and Yahtzee. And the small ones, worth
one point each, are three of a kind,

00:17:58.920 --> 00:18:03.360 align:start position:19%
four of a kind, [music] full house, and
small straight.

00:18:01.840 --> 00:18:06.480 align:start position:19%
Why did I divide them up like this?
That'll make more sense when we go back

00:18:04.600 --> 00:18:09.600 align:start position:19%
to our [music] graph.
Before we move on, let's take a look at

00:18:08.080 --> 00:18:12.760 align:start position:19%
our chances of getting each of these
with our perfect strategy, along with

00:18:11.320 --> 00:18:16.000 align:start position:19%
the average number of points that we get
from each one.

00:18:13.960 --> 00:18:19.080 align:start position:19%
Yahtzees, as expected, are pretty hard,
while the straights are pretty easy. In

00:18:17.840 --> 00:18:22.160 align:start position:19%
fact, we should be getting the small
straight almost every game.

00:18:20.920 --> 00:18:24.960 align:start position:19%
These are so easy that the average
points from the small straight is

00:18:23.440 --> 00:18:27.920 align:start position:19%
actually higher than the Yahtzee and the
top bonus.

00:18:26.760 --> 00:18:31.760 align:start position:19%
Three and four of a kind give us
surprisingly few points, even though we

00:18:29.800 --> 00:18:35.240 align:start position:19%
saw before that they're not that hard.
We'll see why that is in a bit.

00:18:33.840 --> 00:18:38.200 align:start position:19%
So why did I divide up the bonuses this
way, even though the small straight is

00:18:36.960 --> 00:18:41.640 align:start position:19%
worth more on average than almost
anything else in the game? It's because

00:18:40.120 --> 00:18:45.920 align:start position:19%
of what happens if you miss one of these
bonuses. Missing a big bonus is about

00:18:43.840 --> 00:18:49.280 align:start position:19%
twice as bad as missing a small one.
Let's go back to the plot. [music]

00:18:48.160 --> 00:18:52.520 align:start position:19%
We already talked about those bumps on
the right, but what about the others?

00:18:51.400 --> 00:18:56.000 align:start position:19%
These peaks near [music] the right come
from the games where we don't get an

00:18:53.920 --> 00:18:59.320 align:start position:19%
extra 100 point Yahtzee, but we do get
all the big bonuses.

00:18:57.680 --> 00:19:02.760 align:start position:19%
In particular, this last big peak here
comes from us getting every single one

00:19:01.040 --> 00:19:05.520 align:start position:19%
of our regular bonuses.
The peak next to it comes from getting

00:19:04.000 --> 00:19:09.280 align:start position:19%
everything except for one of the small
bonuses, usually four of a kind.

00:19:07.880 --> 00:19:13.080 align:start position:19%
The big peaks are mostly from missing
the Yahtzee. This one comes from [music]

00:19:10.960 --> 00:19:16.743 align:start position:19%
missing two bonus points, either one big
bonus or two small ones, and this one

00:19:15.040 --> 00:19:18.840 align:start position:19%
comes from missing three bonus points,
&gt;&gt; [music]

00:19:16.960 --> 00:19:21.400 align:start position:19%
&gt;&gt; one big bonus and one small one or three
small ones.

00:19:20.240 --> 00:19:24.960 align:start position:19%
And these peaks come from other
combinations. This is from four bonus

00:19:23.480 --> 00:19:27.320 align:start position:19%
points.
This is from missing five bonus [music]

00:19:26.120 --> 00:19:31.120 align:start position:19%
points.
Then the peaks mix together after that.

00:19:29.760 --> 00:19:34.600 align:start position:19%
This tells us some very important things
about our strategy. The Yahtzee, large

00:19:33.280 --> 00:19:38.840 align:start position:19%
straight, and top bonus are really
valuable. Yahtzee is hard and mostly out

00:19:37.120 --> 00:19:42.520 align:start position:19%
of our control. Even if we spent the
entirety of the game just trying to get

00:19:40.200 --> 00:19:45.640 align:start position:19%
a Yahtzee, we'd fail most of the time.
This makes the large straight and top

00:19:43.720 --> 00:19:48.920 align:start position:19%
bonus extremely important to our success
in the game. Sometimes meaning that it's

00:19:47.480 --> 00:19:53.320 align:start position:19%
worth it to zero out one of the smaller
bonuses if it means keeping our chances

00:19:50.920 --> 00:19:56.240 align:start position:19%
alive for the top bonus.
That brings up an interesting question.

00:19:54.960 --> 00:20:00.040 align:start position:19%
How do we decide which boxes to
prioritize as we go throughout the game?

00:19:58.640 --> 00:20:02.760 align:start position:19%
Which ones do we sacrifice when rolls
don't go our way?

00:20:01.360 --> 00:20:05.840 align:start position:19%
Ideally, we'll do a good job of keeping
our options open so that we don't have

00:20:04.080 --> 00:20:08.800 align:start position:19%
to do this very often, but even if we
play perfectly, we sometimes can't avoid

00:20:07.680 --> 00:20:13.120 align:start position:19%
it.
Is it a low-scoring box like ones, or

00:20:10.880 --> 00:20:15.640 align:start position:19%
maybe a hard one to get like Yahtzee?
Just like an aspiring YouTuber who's

00:20:14.480 --> 00:20:19.400 align:start position:19%
realizing no one's going to watch a
40-minute video on Yahtzee, sometimes

00:20:17.760 --> 00:20:22.920 align:start position:19%
figuring out what to cut is the key to
keeping our hopes alive.

00:20:21.480 --> 00:20:25.640 align:start position:19%
So, using our model from before, we can
start to answer this question.

00:20:24.640 --> 00:20:28.760 align:start position:19%
If we're going to have to zero out a
box, we want it to be the one that

00:20:27.240 --> 00:20:32.080 align:start position:19%
probably wouldn't be giving us any
points anyway.

00:20:30.200 --> 00:20:36.120 align:start position:19%
Here's a plot that might help.
This is a plot of the round number

00:20:33.840 --> 00:20:38.840 align:start position:19%
versus average points for each box given
that the box hadn't been filled by that

00:20:37.840 --> 00:20:41.560 align:start position:19%
round.
To start with an example, here's the

00:20:40.000 --> 00:20:44.480 align:start position:19%
small straight.
Over the course of the game, we're

00:20:42.960 --> 00:20:48.200 align:start position:19%
almost guaranteed to get the small
straight at some point. So, it's worth

00:20:46.320 --> 00:20:50.760 align:start position:19%
almost 29 and 1/2 points out of a
possible 30 at the beginning of the

00:20:49.680 --> 00:20:54.120 align:start position:19%
game.
But, the longer it goes unfilled, the

00:20:52.480 --> 00:20:57.080 align:start position:19%
bigger the chances that we won't be able
to fill the box.

00:20:55.480 --> 00:21:00.960 align:start position:19%
If we get to the last turn and are still
waiting on a small straight, our odds

00:20:58.840 --> 00:21:04.080 align:start position:19%
are much lower, so we only get about 18
points on average.

00:21:02.800 --> 00:21:07.120 align:start position:19%
Now, we can fill in this chart with the
rest of our bonuses.

00:21:05.520 --> 00:21:10.680 align:start position:19%
The Yahtzee line also includes points
from the 100-point bonuses, since we'd

00:21:09.040 --> 00:21:13.400 align:start position:19%
also be giving those up if we zeroed out
the Yahtzee.

00:21:11.920 --> 00:21:17.000 align:start position:19%
With slight exceptions, this chart tells
us what is safest to zero out.

00:21:15.480 --> 00:21:20.840 align:start position:19%
Whatever appears lowest on this chart
for the turn that we're on is generally

00:21:18.720 --> 00:21:24.360 align:start position:19%
the best to zero out.
And rather than memorizing this full

00:21:22.200 --> 00:21:28.080 align:start position:19%
chart, we can notice a few patterns. The
safest bet to zero out changes halfway

00:21:26.280 --> 00:21:31.800 align:start position:19%
through the game. It's four of a kind
for the first half, but Yahtzee for the

00:21:29.840 --> 00:21:35.800 align:start position:19%
second half. Since Yahtzee is worth
more, but also harder to get.

00:21:34.040 --> 00:21:39.840 align:start position:19%
Similar things also happen at the top of
the chart. Large straight starts out at

00:21:37.800 --> 00:21:42.760 align:start position:19%
the top, but it's a weird case. There's
a decent chance it will come up on its

00:21:41.160 --> 00:21:46.800 align:start position:19%
own, but it's actually hard to get if
you're still trying. Small straight ends

00:21:44.840 --> 00:21:50.280 align:start position:19%
up at the top as the last thing to get
rid of because you still have a pretty

00:21:48.480 --> 00:21:53.240 align:start position:19%
good chance of getting the 30 points,
even if it sticks around until the last

00:21:51.920 --> 00:21:56.400 align:start position:19%
turn.
But the big takeaways here are that you

00:21:54.600 --> 00:22:00.120 align:start position:19%
should feel safest zeroing out four of a
kind or Yahtzee, and the last ones to

00:21:58.440 --> 00:22:04.680 align:start position:19%
try to keep around at the end of the
game are the small straight, followed by

00:22:02.160 --> 00:22:08.080 align:start position:19%
three of a kind, and large straight.
The other big thing to focus on during

00:22:06.080 --> 00:22:11.000 align:start position:19%
the middle of the game is the top bonus.
It's one of our three big bonuses, and

00:22:09.800 --> 00:22:14.320 align:start position:19%
probably the one we have the most
control over with about a 2/3 chance of

00:22:13.120 --> 00:22:17.480 align:start position:19%
succeeding.
Since it takes six turns to complete, it

00:22:16.200 --> 00:22:21.040 align:start position:19%
should probably be one of the main
focuses of the game.

00:22:19.320 --> 00:22:23.800 align:start position:19%
63 points may be seem like a strange
number to choose for the bonus, but

00:22:22.440 --> 00:22:27.080 align:start position:19%
there's a good reason for it. It's
exactly what you get if you add together

00:22:25.400 --> 00:22:30.440 align:start position:19%
three of each number.
This gives a pretty clear approach to

00:22:28.480 --> 00:22:33.920 align:start position:19%
the strategy for the top bonus. Just try
to get three of everything.

00:22:32.040 --> 00:22:37.800 align:start position:19%
Fours are great. Twos and below are
quite bad. You want to aim for three,

00:22:36.120 --> 00:22:41.320 align:start position:19%
but if you get four of a higher number,
it can give you the freedom to get less

00:22:39.400 --> 00:22:43.920 align:start position:19%
of a lower number, or even to zero out
the ones box if you need to later in the

00:22:42.840 --> 00:22:47.520 align:start position:19%
game.
It's often helpful to track how far

00:22:45.440 --> 00:22:51.560 align:start position:19%
ahead or behind you are compared to
getting three of everything on the boxes

00:22:49.400 --> 00:22:54.960 align:start position:19%
you filled in so far.
Here's a table that might help.

00:22:53.200 --> 00:22:58.320 align:start position:19%
On average, we get 24 points from the
top bonus.

00:22:56.440 --> 00:23:02.160 align:start position:19%
If on the first turn we fill in three of
any number, our odds basically don't

00:22:59.960 --> 00:23:05.720 align:start position:19%
change. If we fill in a four, our odds
go way up, especially if we're filling

00:23:03.880 --> 00:23:09.160 align:start position:19%
in four of a larger number.
But filling in twos or less can ruin our

00:23:07.520 --> 00:23:12.480 align:start position:19%
chances very quickly.
Filling in two ones won't do much, but

00:23:10.880 --> 00:23:16.320 align:start position:19%
two of a larger number can really hurt
your chances. Putting a 12 in the six

00:23:14.680 --> 00:23:20.200 align:start position:19%
box immediately plummets your average
score by over 17 points.

00:23:18.720 --> 00:23:25.000 align:start position:19%
So, you're not only losing six points
from that box, you're effectively losing

00:23:22.000 --> 00:23:29.040 align:start position:19%
another 17 points worth of bonus.
And zeroing out one of the top boxes can

00:23:26.640 --> 00:23:32.280 align:start position:19%
also have a huge impact on your chances.
Ones and twos are harmful, but threes

00:23:30.840 --> 00:23:35.320 align:start position:19%
will make things much harder, and
anything higher is basically giving up

00:23:34.000 --> 00:23:38.680 align:start position:19%
on the bonus.
This gives some useful information.

00:23:37.200 --> 00:23:41.960 align:start position:19%
Zeroing these out early in the game can
be very harmful, making it better to

00:23:40.480 --> 00:23:45.040 align:start position:19%
zero out four of a kind or Yahtzee
instead.

00:23:43.160 --> 00:23:48.120 align:start position:19%
Later in the game, if you already know
whether you'll get the bonus, then

00:23:46.400 --> 00:23:51.120 align:start position:19%
zeroing out the ones or twos can often
be the safest play.

00:23:50.120 --> 00:23:54.720 align:start position:19%
Now that we have a better feel for the
game, what is important, what we should

00:23:52.720 --> 00:23:57.520 align:start position:19%
focus on, and what we can leave out, we
can get back to the beginning. We'll

00:23:56.200 --> 00:24:01.800 align:start position:19%
take a look at the turn that's hardest
to think about, but easiest to plan for.

00:24:00.000 --> 00:24:05.320 align:start position:19%
The first one.
Let's use what we know and our computer

00:24:03.280 --> 00:24:08.840 align:start position:19%
model to map out our first turn. What
are our best outcomes for turn one?

00:24:07.520 --> 00:24:12.720 align:start position:19%
The best turn, not surprisingly, is a
Yahtzee. But what about the second best?

00:24:11.240 --> 00:24:15.560 align:start position:19%
What would you think? Is it a big bonus
like a large straight? Or maybe

00:24:14.160 --> 00:24:19.360 align:start position:19%
something we're less likely to get like
four of a kind? Or maybe something that

00:24:17.440 --> 00:24:22.480 align:start position:19%
will help us to get the top one.
It turns out it's the last one. The

00:24:21.000 --> 00:24:27.800 align:start position:19%
second best outcome for the first turn
is four sixes, putting a 24 in the six

00:24:25.160 --> 00:24:32.000 align:start position:19%
box. After that come four fives, large
straight, four fours, and four threes.

00:24:30.680 --> 00:24:36.200 align:start position:19%
Now, if you've ever studied a game like
chess, you know that opening theory can

00:24:33.960 --> 00:24:39.360 align:start position:19%
quickly turn into loads of memorization.
So, while I'll further detail this in my

00:24:37.600 --> 00:24:42.480 align:start position:19%
blog post linked in the description, I'm
going to try to just focus on the

00:24:40.480 --> 00:24:46.440 align:start position:19%
general principles here.
Getting four of a number is great, and

00:24:44.120 --> 00:24:49.520 align:start position:19%
three of a number is good enough.
Full houses are really good, too, but

00:24:48.120 --> 00:24:51.720 align:start position:19%
you'll probably get them by accident
when you're trying to go for three of a

00:24:50.760 --> 00:24:54.960 align:start position:19%
number.
So are straights, but they're usually

00:24:53.320 --> 00:24:58.760 align:start position:19%
not the best thing to try for unless you
get a small straight by accident on one

00:24:56.520 --> 00:25:02.040 align:start position:19%
of your earlier rolls.
Getting two or fewer of a number is

00:25:00.080 --> 00:25:06.040 align:start position:19%
really bad. You should never score two
or fewer fours, fives, or sixes, and you

00:25:04.320 --> 00:25:08.560 align:start position:19%
should never score one of anything but
one.

00:25:07.120 --> 00:25:12.480 align:start position:19%
There's one box you should never fill in
on your first turn, four of a kind. It's

00:25:10.920 --> 00:25:16.280 align:start position:19%
not because it's a bad outcome, but
because you're always better off putting

00:25:13.880 --> 00:25:20.040 align:start position:19%
it in the top section instead.
Three of a kind is also extremely rare,

00:25:18.240 --> 00:25:23.240 align:start position:19%
and only in cases with three sixes and
other numbers that are pretty high.

00:25:22.040 --> 00:25:27.320 align:start position:19%
In case you're curious, the worst
possible turn one is two, three, four,

00:25:25.760 --> 00:25:30.680 align:start position:19%
four, six.
All of these numbers are too bad to

00:25:28.840 --> 00:25:33.920 align:start position:19%
write in the top box, and you just miss
out on a small straight.

00:25:32.320 --> 00:25:37.440 align:start position:19%
The right move here is a 19-point
chance, which wastes your chance on a

00:25:35.840 --> 00:25:41.040 align:start position:19%
score that is not particularly good
right off the bat.

00:25:39.920 --> 00:25:44.320 align:start position:19%
Now that we've talked through every part
of the game, we can think more clearly

00:25:42.720 --> 00:25:47.760 align:start position:19%
about how to handle every box on our
scorecard. We've already talked through

00:25:46.040 --> 00:25:51.840 align:start position:19%
the top section, so we'll focus on the
rest, starting at the bottom.

00:25:49.880 --> 00:25:55.600 align:start position:19%
Chance is like a free space. While you'd
prefer not to put a low number in this

00:25:53.440 --> 00:25:58.280 align:start position:19%
box, its real value comes from the fact
that you can use it to throw away a bad

00:25:57.280 --> 00:26:01.640 align:start position:19%
turn.
Try to mostly use it to avoid a bad

00:25:59.880 --> 00:26:05.400 align:start position:19%
score elsewhere, and even then, be
careful. You can afford to take a lot

00:26:03.560 --> 00:26:09.240 align:start position:19%
more risks when chance is open than when
it's already been used.

00:26:07.480 --> 00:26:13.320 align:start position:19%
Yahtzee is the best box on the board,
but it's rare. If you get it, great, but

00:26:11.440 --> 00:26:17.120 align:start position:19%
don't push your luck. Don't go for a
Yahtzee unless you have somewhere else

00:26:14.800 --> 00:26:20.880 align:start position:19%
you can go if you fail.
You should get both straights most

00:26:18.440 --> 00:26:24.080 align:start position:19%
games. There's an 82% chance you'll roll
a small straight on your first roll at

00:26:22.520 --> 00:26:27.360 align:start position:19%
some point during the game, so it's
usually best to just look out for one

00:26:25.560 --> 00:26:30.480 align:start position:19%
whenever you do roll.
The large straight is easy to get

00:26:28.640 --> 00:26:32.960 align:start position:19%
randomly, but harder if you have to try
for it.

00:26:31.480 --> 00:26:36.560 align:start position:19%
If you roll a small straight and still
have both straights open, or if you roll

00:26:35.040 --> 00:26:40.680 align:start position:19%
four out of five and still have chance
open, then it's often worth it to go for

00:26:38.560 --> 00:26:43.560 align:start position:19%
the large straight. Otherwise, only do
it if you're prepared to zero something

00:26:42.200 --> 00:26:47.160 align:start position:19%
out.
Full house also usually comes up on its

00:26:45.240 --> 00:26:50.880 align:start position:19%
own. Take it when you get it, but you
can usually count on seeing one while

00:26:48.760 --> 00:26:54.400 align:start position:19%
you try for other things.
Three and four of a kind are tricky,

00:26:52.560 --> 00:26:58.120 align:start position:19%
since anytime you get one, it's usually
best to fill in a top box instead. You

00:26:56.600 --> 00:27:01.080 align:start position:19%
should usually only go for these if you
get a bunch of a number that you've

00:26:59.280 --> 00:27:04.760 align:start position:19%
already used up top.
Four of a kind is also much harder than

00:27:02.600 --> 00:27:09.320 align:start position:19%
three of a kind with no extra reward.
So, anytime you have to choose which of

00:27:06.280 --> 00:27:13.600 align:start position:19%
these boxes to fill in, or zero out,
always choose four of a kind. You can

00:27:11.120 --> 00:27:16.760 align:start position:19%
probably get the three of a kind later.
So, hopefully that should give you a

00:27:14.720 --> 00:27:19.320 align:start position:19%
sense of how to play through the game.
The dice rolling principles from the end

00:27:18.000 --> 00:27:22.440 align:start position:19%
game should help a lot in the earlier
turns, and the prioritization from the

00:27:21.160 --> 00:27:25.920 align:start position:19%
beginning should continue to help in
later turns. Now, there's one really

00:27:24.600 --> 00:27:30.000 align:start position:19%
important part of this game that we
haven't talked about at all. You

00:27:27.640 --> 00:27:32.800 align:start position:19%
probably have an opponent.
Now, there are a few challenges in

00:27:31.120 --> 00:27:36.440 align:start position:19%
trying to put multiplayer strategy into
this video. One is that my computer is

00:27:34.840 --> 00:27:39.760 align:start position:19%
barely able to do all the computations
with one player, and every additional

00:27:38.280 --> 00:27:42.600 align:start position:19%
player increases the difficulty
exponentially.

00:27:41.120 --> 00:27:46.040 align:start position:19%
The other is that I don't know anything
about who you're playing against. Trying

00:27:44.520 --> 00:27:48.600 align:start position:19%
to beat an optimal computer and trying
to beat a human are usually very

00:27:47.360 --> 00:27:51.560 align:start position:19%
different.
It's also hard to see everyone's

00:27:49.760 --> 00:27:53.640 align:start position:19%
scorecards during a game, making it
harder to adjust to your opponents

00:27:52.680 --> 00:27:55.840 align:start position:19%
anyway.
We're not going to be able to play

00:27:54.400 --> 00:27:58.400 align:start position:19%
perfectly anymore, but we can talk
through some general principles that

00:27:57.080 --> 00:28:01.600 align:start position:19%
might help.
The main approach, as in most games, is

00:28:00.000 --> 00:28:05.400 align:start position:19%
to play aggressively when you're behind
and conservatively when you're ahead.

00:28:03.560 --> 00:28:08.600 align:start position:19%
But, this raises two questions. What
does it mean to play aggressively, and

00:28:07.040 --> 00:28:11.280 align:start position:19%
for that matter, what does it mean to be
ahead?

00:28:09.800 --> 00:28:14.640 align:start position:19%
Just looking at people's points so far
doesn't really tell you who's winning.

00:28:13.240 --> 00:28:18.200 align:start position:19%
Putting a 12 in the three box isn't a
lot of points, but it's a good turn.

00:28:16.680 --> 00:28:21.680 align:start position:19%
Putting a 12 in four of a kind is pretty
bad. Putting a 12 in the six box is

00:28:20.400 --> 00:28:24.840 align:start position:19%
really bad.
So, how do we figure out who's ahead

00:28:23.240 --> 00:28:28.520 align:start position:19%
when there are 13 boxes that could be
filled in in any combination with many

00:28:26.600 --> 00:28:32.080 align:start position:19%
different numbers? To figure this out,
we're going to bring back our simplified

00:28:30.000 --> 00:28:36.560 align:start position:19%
scoring system. Four points for Yahtzee
bonuses, two points for our big bonuses,

00:28:34.320 --> 00:28:39.880 align:start position:19%
and one point for our small ones.
If two players are using our point

00:28:37.840 --> 00:28:44.040 align:start position:19%
maximizing strategy, and one beats the
other by a single point on our

00:28:41.240 --> 00:28:47.640 align:start position:19%
simplified scale, there's a 97% chance
that they won the game, too.

00:28:46.080 --> 00:28:51.600 align:start position:19%
This can help us evaluate our chances
and figure out our strategy.

00:28:49.680 --> 00:28:54.840 align:start position:19%
To figure out how we're doing in a game,
we can just look at how many bonus

00:28:52.920 --> 00:28:58.880 align:start position:19%
points each player has, as well as how
easy or hard it's going to be to get the

00:28:56.800 --> 00:29:02.640 align:start position:19%
rest of the bonuses. If Yahtzee is
empty, it will usually be a zero. If

00:29:01.080 --> 00:29:06.040 align:start position:19%
small straight is empty, it will usually
still get points.

00:29:04.080 --> 00:29:10.440 align:start position:19%
For the top bonus, see if each player is
ahead or behind the pace of three dice

00:29:08.320 --> 00:29:12.840 align:start position:19%
per box filled in so far.
This can help figure out where you

00:29:11.640 --> 00:29:17.400 align:start position:19%
stand.
So, how do we change our strategy? Well,

00:29:14.880 --> 00:29:21.000 align:start position:19%
if you're ahead, focus on sure points.
Make sure to keep around easy categories

00:29:19.080 --> 00:29:25.040 align:start position:19%
like small straight, and try to get good
top section scores to get the top bonus.

00:29:23.440 --> 00:29:28.120 align:start position:19%
If this means zeroing out the Yahtzee or
other hard to get boxes, that's probably

00:29:26.800 --> 00:29:32.160 align:start position:19%
okay.
If you're behind, try to go big. Keep

00:29:30.440 --> 00:29:35.320 align:start position:19%
the Yahtzee on the board, even if that
means you have to sacrifice less

00:29:33.480 --> 00:29:38.960 align:start position:19%
valuable boxes like ones or four of a
kind. You'll probably lose points by

00:29:37.400 --> 00:29:42.440 align:start position:19%
doing this, but it will give you more
opportunities to win the game.

00:29:41.240 --> 00:29:45.960 align:start position:19%
So, how does this change with more
players? Well, that depends on what you

00:29:44.160 --> 00:29:49.240 align:start position:19%
want. If you're trying to do as well as
possible, then the strategy probably

00:29:47.480 --> 00:29:51.800 align:start position:19%
doesn't change much. Just get as many
points as you can, and you'll probably

00:29:50.680 --> 00:29:54.640 align:start position:19%
do better.
It's probably better to be a bit more

00:29:53.080 --> 00:29:58.480 align:start position:19%
aggressive when you're behind, and a bit
more conservative when you're doing

00:29:55.760 --> 00:30:02.360 align:start position:19%
well, but otherwise not much changes.
But, for a lot of us, that's not how we

00:29:59.880 --> 00:30:05.600 align:start position:19%
play. We want to win, and anything less
will lead to hurt feelings and a flipped

00:30:03.760 --> 00:30:08.800 align:start position:19%
table. So, if we want to crush our
families at this game, how well do we

00:30:07.520 --> 00:30:11.600 align:start position:19%
need to do?
Well, here's the plot from earlier

00:30:09.880 --> 00:30:14.600 align:start position:19%
showing how often someone gets every
score if they're trying to maximize

00:30:13.160 --> 00:30:19.160 align:start position:19%
their average points.
The average score here, as we mentioned,

00:30:16.000 --> 00:30:22.000 align:start position:19%
is 255, and the median is 248. So, if
you're playing against one really good

00:30:20.440 --> 00:30:25.000 align:start position:19%
player, that's the number of points
you'll probably need to be more likely

00:30:23.640 --> 00:30:28.800 align:start position:19%
than not to win.
But, what about more players? If two

00:30:27.080 --> 00:30:32.040 align:start position:19%
players are both using the strategy, we
can look at the frequencies of the

00:30:30.040 --> 00:30:35.320 align:start position:19%
maximum of the two scores, which looks
like this.

00:30:33.200 --> 00:30:38.320 align:start position:19%
The median goes up to 268, which means
that if you're playing a three-player

00:30:36.560 --> 00:30:41.226 align:start position:19%
game against two good opponents, you
can't afford to miss more than one big

00:30:39.880 --> 00:30:43.720 align:start position:19%
bonus or two small ones,
&gt;&gt; [music]

00:30:41.320 --> 00:30:46.466 align:start position:19%
&gt;&gt; and even that might not be enough.
With three opponents, the median is now

00:30:45.080 --> 00:30:47.800 align:start position:19%
279,
&gt;&gt; [music]

00:30:46.560 --> 00:30:50.840 align:start position:19%
&gt;&gt; meaning that you probably can't afford
to miss more than a single small bonus

00:30:49.480 --> 00:30:53.160 align:start position:19%
in a four-player game against good
opponents.

00:30:52.040 --> 00:30:56.960 align:start position:19%
This means that you probably need a
Yahtzee to win, so try not to zero it

00:30:55.360 --> 00:31:00.120 align:start position:19%
out, even if it loses you points on
average.

00:30:58.320 --> 00:31:02.800 align:start position:19%
With five opponents, that median goes up
to 307,

00:31:01.600 --> 00:31:06.840 align:start position:19%
meaning that if you don't get every
single bonus on the board or multiple

00:31:04.600 --> 00:31:10.120 align:start position:19%
Yahtzees, you probably won't win.
This requires some luck, so you have to

00:31:08.560 --> 00:31:14.800 align:start position:19%
try as hard as you can to not miss a
single bonus, even if it means taking

00:31:12.000 --> 00:31:17.600 align:start position:19%
some risks in the top section.
Note that we've been assuming that our

00:31:15.840 --> 00:31:21.560 align:start position:19%
opponents are using our point-maximizing
strategy. In reality, most human players

00:31:19.960 --> 00:31:24.160 align:start position:19%
won't be this good, so if you're playing
against worse opponents, you can

00:31:22.800 --> 00:31:27.800 align:start position:19%
approximate that by assuming that you
have fewer better opponents instead.

00:31:26.680 --> 00:31:30.680 align:start position:19%
Here's where our analysis starts to get
fun, though.

00:31:29.320 --> 00:31:34.920 align:start position:19%
Even though a score sheet only has room
for six players, the box just says two

00:31:32.600 --> 00:31:37.640 align:start position:19%
plus players, so I want to keep going.
With 10 opponents, you'll probably need

00:31:36.160 --> 00:31:40.520 align:start position:19%
multiple Yahtzees just to have a good
chance of winning.

00:31:39.200 --> 00:31:43.840 align:start position:19%
So, it's probably best to just focus on
Yahtzees above all else.

00:31:42.440 --> 00:31:44.920 align:start position:19%
There are 80 score sheets in a typical
Yahtzee box.

00:31:44.761 --> 00:31:47.720 align:start position:19%
&gt;&gt; [music]
&gt;&gt; If you handed them all out and played a

00:31:46.240 --> 00:31:51.560 align:start position:19%
game with them, you'd probably need
three Yahtzees to win.

00:31:49.880 --> 00:31:55.640 align:start position:19%
Hasbro, the company that makes Yahtzee,
has about 5,000 employees. If they had a

00:31:54.040 --> 00:31:59.440 align:start position:19%
whole company picnic and decided to play
Yahtzee, the winner would probably have

00:31:57.520 --> 00:32:02.120 align:start position:19%
four Yahtzees.
Hasbro is based in the great state of

00:32:00.880 --> 00:32:05.320 align:start position:19%
Rhode Island, which has about a million
people. If they held a mandatory

00:32:03.920 --> 00:32:10.200 align:start position:19%
statewide Yahtzee game, it would
probably take six Yahtzees to win.

00:32:08.240 --> 00:32:13.800 align:start position:19%
And of course, the world has about 8.3
billion people. If every single one

00:32:12.200 --> 00:32:17.880 align:start position:19%
became an expert at Yahtzee and we all
played a game, we would probably see

00:32:15.320 --> 00:32:20.680 align:start position:19%
someone get nine Yahtzees.
If we were somehow able to get a larger

00:32:19.120 --> 00:32:25.240 align:start position:19%
game than that going, and we were able
to get 51 quintillion participants

00:32:23.160 --> 00:32:31.280 align:start position:19%
dedicated to optimal play, we would be
more likely than not to see a perfect

00:32:27.120 --> 00:32:35.040 align:start position:19%
game of Yahtzee, a 1575.
Yahtzee may be a game of chance, but

00:32:32.880 --> 00:32:38.040 align:start position:19%
it's also very much a game of skill.
Beyond just thinking about which dice to

00:32:36.520 --> 00:32:41.360 align:start position:19%
re-roll, it also forces you to think
about advanced planning and option value

00:32:40.080 --> 00:32:43.520 align:start position:19%
if you don't want to be stuck with boxes
that you can't use at the end of the

00:32:42.440 --> 00:32:48.920 align:start position:19%
game.
Sometimes, the best thing you can do is

00:32:45.520 --> 00:32:48.920 align:start position:19%
to make luck work in your favor.

00:32:50.600 --> 00:32:56.920 align:start position:19%
Just a few quick things before I go.
One, thank you all so much for watching.

00:32:54.320 --> 00:32:59.720 align:start position:19%
I was so amazed by the reaction that I
got to my first video. I love talking to

00:32:58.840 --> 00:33:03.440 align:start position:19%
you all in the comments about
Battleship, and I hope to be able to do

00:33:00.800 --> 00:33:06.720 align:start position:19%
the same on this video about Yahtzee.
Um I also have a blog post linked in the

00:33:05.080 --> 00:33:10.960 align:start position:19%
description and in the comments where I
talk about some more of the process and

00:33:08.880 --> 00:33:13.920 align:start position:19%
about some of the strategy and things
that were a bit more detailed that I

00:33:12.360 --> 00:33:17.360 align:start position:19%
couldn't get into uh during the rest of
the video. Thank you all so much.

