WEBVTT
Kind: captions
Language: en-US

00:00:00.229 --> 00:00:04.759
Last time, we learned that we can create a
line of 3 pieces in a row, called a major

00:00:04.759 --> 00:00:05.759
threat.

00:00:05.759 --> 00:00:09.740
We learned how to simultaneously expose two
of these threats, which can be used to win

00:00:09.740 --> 00:00:10.740
the game.

00:00:10.740 --> 00:00:15.790
However, all of our examples from last time
showed us how to win quickly in the beginning,

00:00:15.790 --> 00:00:21.630
mostly in the case that the player under threat
followed poor shape or poor opening decisions.

00:00:21.630 --> 00:00:25.770
On the contrary, today we will investigate
how to use threats to our advantage when the

00:00:25.770 --> 00:00:28.170
opening goes exactly right.

00:00:28.170 --> 00:00:31.620
We don't necessarily need a double major threat
to win.

00:00:31.620 --> 00:00:36.880
The game can be won with a smaller set of
threats, because today we will learn that

00:00:36.880 --> 00:00:42.260
not all threats are created equal.

00:00:42.260 --> 00:00:46.699
In mathematics, parity refers to the even-ness
or odd-ness of a number.

00:00:46.699 --> 00:00:50.610
We can say that 3 has odd parity and 4 has
even parity.

00:00:50.610 --> 00:00:55.040
Insofar as the players alternate taking turns,
we will be able to use this as a tool to analyze

00:00:55.040 --> 00:00:57.760
connect 4 positions.

00:00:57.760 --> 00:01:02.500
We begin by noticing that the board, as a
whole, has a total of exactly 42 spots to

00:01:02.500 --> 00:01:04.449
play.

00:01:04.449 --> 00:01:09.659
That means that there will be an unending
chain of 42 moves, starting with red, assuming

00:01:09.659 --> 00:01:15.549
you follow the convention of Red playing first,
then alternating yellow, red, yellow, red,

00:01:15.549 --> 00:01:25.410
yellow, until the game ends with Yellow making
the last move.

00:01:25.410 --> 00:01:32.750
The results of this fact are immediate and
decisive.

00:01:32.750 --> 00:01:37.160
Consider this position in which both Red and
Yellow hold a threat on the top row, and there

00:01:37.160 --> 00:01:40.229
is no threat anywhere else on the board.

00:01:40.229 --> 00:01:43.780
We can immediately determine the result of
this game.

00:01:43.780 --> 00:01:53.490
From what we know, Yellow will play the last
disk, thus claiming the threat and winning.

00:01:53.490 --> 00:01:59.740
Let's re-imagine this game where, instead,
Yellow has his threat on the fourth row.

00:01:59.740 --> 00:02:03.590
Notice how the exact same thing happens?

00:02:03.590 --> 00:02:07.649
Both players fill in the rest of the board,
until Yellow gets to claim the threat which

00:02:07.649 --> 00:02:10.470
he was guaranteed to begin with.

00:02:10.470 --> 00:02:14.800
Let's back up a few moves.

00:02:14.800 --> 00:02:20.470
Notice how Red and Yellow are happy to play
in the first two spaces of the center column?

00:02:20.470 --> 00:02:24.030
However, consider the marked space.

00:02:24.030 --> 00:02:27.030
Notice that neither player would ever want
to play it.

00:02:27.030 --> 00:02:31.750
The fact that yellow wouldn't forfeit the
threat here, and that equivalently, Red wouldn't

00:02:31.750 --> 00:02:36.140
expose it for Yellow to take, is very important.

00:02:36.140 --> 00:02:41.710
This means that both players are effectively
bounded 2 spaces below the threat.

00:02:41.710 --> 00:02:45.920
Play in that column wouldn't continue above
that point until there is no other option

00:02:45.920 --> 00:02:48.379
for either player.

00:02:48.379 --> 00:02:56.760
The same logic applies for any threat at all,
not just fourth row threats.

00:02:56.760 --> 00:03:00.270
For completeness, let's take a look at a second-row
yellow threat.

00:03:00.270 --> 00:03:03.020
Do you see the pattern?

00:03:03.020 --> 00:03:12.860
In this case, Red has extremely good shape
in the center of the board.

00:03:12.860 --> 00:03:15.430
However, none of that matters.

00:03:15.430 --> 00:03:20.670
Yellow's second-row major threats already
seal Red's fate.

00:03:20.670 --> 00:03:24.421
After the dead space fills, Red is to play,
forfeiting the game to Yellow.

00:03:24.421 --> 00:03:25.421
Here's an even more surprising example- We
have barely progressed past the opening, yet

00:03:25.421 --> 00:03:32.040
Yellow is still guaranteed the win merely
by the minor threats held on the second row.

00:03:32.040 --> 00:03:35.200
Let's see an example of a winning game for
Red.

00:03:35.200 --> 00:03:45.450
In this case, Red's threat is on the Fifth
row, thereby guaranteeing him the victory.

00:03:45.450 --> 00:03:49.910
It should start to become clear that these
threats matter the most when their row corresponds

00:03:49.910 --> 00:03:52.340
to the parity of the player who owns them.

00:03:52.340 --> 00:03:58.791
That is to say, Red, who plays first, wants
to have threats on odd rows, and Yellow, who

00:03:58.791 --> 00:04:03.480
plays second, wants to have threats on even
rows.

00:04:03.480 --> 00:04:10.890
We can construct an example in which players
have all of these threats on the wrong rows,

00:04:10.890 --> 00:04:17.639
and we immediately know that the game is pre-destined
to tie.

00:04:17.639 --> 00:04:27.390
In this case, there are Red threats on the
fifth row and third row- both of which are

00:04:27.390 --> 00:04:28.650
odd rows.

00:04:28.650 --> 00:04:32.690
This corresponds to Red being player 1, the
odd parity player.

00:04:32.690 --> 00:04:38.530
But, we also notice that there is a Yellow
major threat on the 2nd row, also corresponding

00:04:38.530 --> 00:04:41.570
to the fact that Yellow is the even player.

00:04:41.570 --> 00:04:42.570
Who will win?

00:04:42.570 --> 00:04:48.350
Naturally, it will be the first player to
reach their threat.

00:04:48.350 --> 00:04:52.520
It is for this reason that we say that the
Red threats on the odd rows are "undercut"

00:04:52.520 --> 00:04:55.150
by the Yellow second-row threat.

00:04:55.150 --> 00:05:00.520
Yellow will win, because the game will be
over before Red's threats are ever available.

00:05:00.520 --> 00:05:04.280
It's as though the red threats aren't even
there at all.

00:05:04.280 --> 00:05:09.501
Now, predicting who is going to win is great
and all, but of course, once the threats are

00:05:09.501 --> 00:05:12.860
already in place, it's too late to change
the course of the game.

00:05:12.860 --> 00:05:16.800
So, the appropriate time to use this knowledge
is during the construction of these threats

00:05:16.800 --> 00:05:20.100
in the first place.

00:05:20.100 --> 00:05:22.639
This is an example from the Candlesticks opening.

00:05:22.639 --> 00:05:27.009
It's red's turn to move- where is the best
place to play?

00:05:27.009 --> 00:05:31.370
Red could play here, creating two even major
threats.

00:05:31.370 --> 00:05:34.190
But those aren't very important to red.

00:05:34.190 --> 00:05:38.800
Furthermore, Yellow then gets the opportunity
to block what could have been a red odd row

00:05:38.800 --> 00:05:44.670
threat on the fifth row.

00:05:44.670 --> 00:05:49.889
Insofar as red wants odd row threats more
than even row threats, Red would have been

00:05:49.889 --> 00:05:55.449
better off not permitting Yellow to have blocked
this potential winning threat.

00:05:55.449 --> 00:06:01.539
And, sure enough, it turns out that all of
the moves for Red are correct with the unique

00:06:01.539 --> 00:06:06.270
exception of the one which permits Yellow
to block this critical threat.

00:06:06.270 --> 00:06:12.520
Let's see an example of how this game may
play out, if Red continues the sequence correctly.

00:06:12.520 --> 00:06:23.139
Sure enough, eventually the odd row threat
falls right into Red's hands.

00:06:23.139 --> 00:06:27.599
And what if Red gets it wrong, by exposing
the potential 5th-row threat?

00:06:27.599 --> 00:06:29.090
Yellow blocks.

00:06:29.090 --> 00:06:31.330
Now, it's Red's turn to move.

00:06:31.330 --> 00:06:33.210
What should he do?

00:06:33.210 --> 00:06:37.319
Do you see the Yellow threat about to be made
on the 6th row?

00:06:37.319 --> 00:06:41.060
The only move which doesn't hand Yellow the
victory, naturally, is the one which blocks

00:06:41.060 --> 00:06:44.740
Yellow's even row threat.

00:06:44.740 --> 00:06:49.800
If Red blocks, the game will end as a tie,
since neither player has an appropriate threat.

00:06:49.800 --> 00:07:03.319
Otherwise, yellow will win on the 6th row.

00:07:03.319 --> 00:07:07.270
At first glance, it looks like the player
who is favored is that same player who has

00:07:07.270 --> 00:07:10.520
a threat on a row of their favored parity.

00:07:10.520 --> 00:07:14.960
All of the examples which we have seen so
far have been evidence in favor of this claim.

00:07:14.960 --> 00:07:20.780
Well, then, what should we think of this example
here?

00:07:20.780 --> 00:07:25.139
Just like the example in which Red was undercut,
it features both players having at least one

00:07:25.139 --> 00:07:28.590
threat on their appropriate parity.

00:07:28.590 --> 00:07:34.029
Again, Red's threat on the 5th row is above
the yellow threat on the 4th row.

00:07:34.029 --> 00:07:36.150
Does this mean that Red is undercut?

00:07:36.150 --> 00:07:40.490
On the right side, yes, but on the left side
no- the left-side threat isn't even on the

00:07:40.490 --> 00:07:42.250
same column.

00:07:42.250 --> 00:07:46.580
Getting to that left-side 5th row red threat
doesn't somehow require passing through the

00:07:46.580 --> 00:07:51.490
right-side yellow threat like it would have
if they were in the same column.

00:07:51.490 --> 00:07:53.330
What should we expect, then?

00:07:53.330 --> 00:07:57.300
Both players have what they want to win, but
of course they can't both win.

00:07:57.300 --> 00:07:59.349
Should we expect a tie?

00:07:59.349 --> 00:08:00.800
Let's see what happens.

00:08:00.800 --> 00:08:05.310
Both players begin by filling the dead space
under the threats, leaving us here, with Yellow

00:08:05.310 --> 00:08:06.449
to move.

00:08:06.449 --> 00:08:11.449
Yellow now has a decision to make- either
expose the Red threat on the left, immediately

00:08:11.449 --> 00:08:20.400
forfeiting the game, or forfeit his own fourth-row
threat on the right.

00:08:20.400 --> 00:08:25.370
The latter sounds less terrible, but the result
is the exact same, in that we now have a single

00:08:25.370 --> 00:08:29.490
red threat on red's favored row.

00:08:29.490 --> 00:08:33.270
This is all to say, this position was Red's
win to begin with.

00:08:33.270 --> 00:08:35.520
But why?

00:08:35.520 --> 00:08:39.070
What's different between the two players'
positions that gives Red the advantage here

00:08:39.070 --> 00:08:42.620
somehow?

00:08:42.620 --> 00:08:47.070
This is best explained by a somewhat abstract
concept called the "Zugzwang."

00:08:47.070 --> 00:08:51.430
It's a German term, originally used in Chess
to describe a position in which one would

00:08:51.430 --> 00:08:54.590
prefer to simply pass for their turn.

00:08:54.590 --> 00:08:59.770
Take a look at our position once the dead
space is filled again.

00:08:59.770 --> 00:09:05.010
We can say that "Yellow is IN Zugzwang," because
in this position, Yellow would prefer to just

00:09:05.010 --> 00:09:10.209
skip the turn and let Red move, so that Red
is forced to either forfeit the Red threat,

00:09:10.209 --> 00:09:13.120
or reveal the Yellow threat.

00:09:13.120 --> 00:09:18.500
Alas, this is not permitted, and Yellow is
forced to make a losing move.

00:09:18.500 --> 00:09:25.350
Is there an example of Red falling prey to
the Zugzwang?

00:09:25.350 --> 00:09:28.019
Consider this position.

00:09:28.019 --> 00:09:34.269
Yellow doesn't even have a threat on his beloved
even row, with just two odd-row threats.

00:09:34.269 --> 00:09:39.940
Red, on the other hand, has a threat on an
appropriate row- the fifth row, in correspondence

00:09:39.940 --> 00:09:41.500
with his parity.

00:09:41.500 --> 00:09:43.730
Surely, Red should win here!

00:09:43.730 --> 00:09:48.380
But, the result is not quite what we expect.

00:09:48.380 --> 00:09:54.260
Once the dead space is filled, it's now Red's
turn, and Red finds himself in Zugzwang.

00:09:54.260 --> 00:09:59.510
Regardless of the column, a red piece will
expose either one of the two yellow threats.

00:09:59.510 --> 00:10:03.930
The Red threat on the 5th row doesn't even
have any effect on the position- it is completely

00:10:03.930 --> 00:10:08.529
nullified by the Yellow threats on the third
row!

00:10:08.529 --> 00:10:14.279
It is for these reasons that Yellow can be
said to "Control the Zugzwang."

00:10:14.279 --> 00:10:18.220
Now that we have learned this new tool of
analysis, how do we generalize it?

00:10:18.220 --> 00:10:23.830
In which positions does one find himself in
the Zugzwang?

00:10:23.830 --> 00:10:28.250
The answer is a little bit complicated, but
the gist is that on top of each player wanting

00:10:28.250 --> 00:10:34.270
threats of their parity, both players gain
some advantage by having odd row threats.

00:10:34.270 --> 00:10:37.720
Odd row threats turn out to be just a little
bit stronger.

00:10:37.720 --> 00:10:41.360
We'll clarify on exactly what that means in
the next video.

00:10:41.360 --> 00:10:44.470
But before you go, I want to make a point
of the key idea here.

00:10:44.470 --> 00:10:48.200
It doesn't matter how many spots are left
open on the board, how many columns remain

00:10:48.200 --> 00:10:50.630
empty, or whose turn it is.

00:10:50.630 --> 00:10:54.281
Once you are sufficiently far into the game
where all threats have been developed, you

00:10:54.281 --> 00:10:59.000
can ALWAYS predict the result of the game
totally deterministically, ONLY by knowing

00:10:59.000 --> 00:11:04.250
the list of open threats and the parity of
the rows which they lie on- no other information

00:11:04.250 --> 00:11:05.910
is needed.

00:11:05.910 --> 00:11:10.240
This is an enormous relief of mental burden
in the endgame- once you get comfortable thinking

00:11:10.240 --> 00:11:14.680
about threats and their parities, you will
never need to actually read the game to completion

00:11:14.680 --> 00:11:17.890
ever again.

00:11:17.890 --> 00:11:22.440
We have now developed the theoretical ideas
to explain, given a set of threats, who we

00:11:22.440 --> 00:11:23.630
should expect to win.

00:11:23.630 --> 00:11:29.870
In the next video we will abstract this theoretical
understanding to apply to all sets of starting

00:11:29.870 --> 00:11:35.280
threats, and crystallize them into "win conditions,"
or concise rules which deterministically tell

00:11:35.280 --> 00:11:41.190
us, given a complex set of threats on different
rows, who is favored as the winning player.

00:11:41.190 --> 00:11:42.640
Be sure to stay tuned!

00:11:42.640 --> 00:11:43.640
This has been 2swap.

