WEBVTT
Kind: captions
Language: en

00:00:02.600 --> 00:00:04.910 align:start position:0%
 
Ah,<00:00:03.120><c> Minesweeper.</c><00:00:04.160><c> For</c><00:00:04.280><c> many</c><00:00:04.480><c> of</c><00:00:04.560><c> us,</c><00:00:04.680><c> it</c><00:00:04.800><c> was</c>

00:00:04.910 --> 00:00:04.920 align:start position:0%
Ah, Minesweeper. For many of us, it was
 

00:00:04.920 --> 00:00:06.470 align:start position:0%
Ah, Minesweeper. For many of us, it was
a<00:00:04.960><c> defining</c><00:00:05.480><c> game</c><00:00:05.720><c> of</c><00:00:05.800><c> our</c><00:00:05.920><c> childhoods</c>

00:00:06.470 --> 00:00:06.480 align:start position:0%
a defining game of our childhoods
 

00:00:06.480 --> 00:00:09.710 align:start position:0%
a defining game of our childhoods
alongside<00:00:07.080><c> Pinball</c><00:00:07.760><c> and</c><00:00:08.640><c> Solitaire.</c><00:00:09.560><c> But</c>

00:00:09.710 --> 00:00:09.720 align:start position:0%
alongside Pinball and Solitaire. But
 

00:00:09.720 --> 00:00:11.310 align:start position:0%
alongside Pinball and Solitaire. But
funnily<00:00:10.000><c> enough,</c><00:00:10.280><c> as</c><00:00:10.400><c> a</c><00:00:10.480><c> kid,</c><00:00:10.960><c> I</c><00:00:11.040><c> never</c>

00:00:11.310 --> 00:00:11.320 align:start position:0%
funnily enough, as a kid, I never
 

00:00:11.320 --> 00:00:13.590 align:start position:0%
funnily enough, as a kid, I never
actually<00:00:11.720><c> figured</c><00:00:12.040><c> out</c><00:00:12.240><c> how</c><00:00:12.400><c> to</c><00:00:12.600><c> play</c><00:00:13.040><c> it.</c><00:00:13.560><c> I</c>

00:00:13.590 --> 00:00:13.600 align:start position:0%
actually figured out how to play it. I
 

00:00:13.600 --> 00:00:15.190 align:start position:0%
actually figured out how to play it. I
feel<00:00:13.720><c> like</c><00:00:13.840><c> someone</c><00:00:14.120><c> did</c><00:00:14.480><c> tell</c><00:00:14.720><c> me</c><00:00:14.880><c> at</c><00:00:15.000><c> some</c>

00:00:15.190 --> 00:00:15.200 align:start position:0%
feel like someone did tell me at some
 

00:00:15.200 --> 00:00:16.790 align:start position:0%
feel like someone did tell me at some
point<00:00:15.520><c> what</c><00:00:15.680><c> the</c><00:00:15.760><c> goal</c><00:00:16.040><c> was</c><00:00:16.400><c> and</c><00:00:16.560><c> what</c><00:00:16.720><c> the</c>

00:00:16.790 --> 00:00:16.800 align:start position:0%
point what the goal was and what the
 

00:00:16.800 --> 00:00:18.630 align:start position:0%
point what the goal was and what the
numbers<00:00:17.200><c> meant,</c><00:00:17.480><c> but</c><00:00:17.760><c> my</c><00:00:17.960><c> baby</c><00:00:18.320><c> brain</c>

00:00:18.630 --> 00:00:18.640 align:start position:0%
numbers meant, but my baby brain
 

00:00:18.640 --> 00:00:20.510 align:start position:0%
numbers meant, but my baby brain
probably<00:00:18.880><c> decided</c><00:00:19.320><c> it</c><00:00:19.400><c> was</c><00:00:19.600><c> too</c><00:00:19.760><c> much</c><00:00:19.960><c> effort.</c>

00:00:20.510 --> 00:00:20.520 align:start position:0%
probably decided it was too much effort.
 

00:00:20.520 --> 00:00:22.310 align:start position:0%
probably decided it was too much effort.
Instead,<00:00:21.000><c> I</c><00:00:21.040><c> just</c><00:00:21.280><c> set</c><00:00:21.440><c> the</c><00:00:21.560><c> size</c><00:00:21.880><c> as</c><00:00:22.040><c> big</c><00:00:22.200><c> as</c>

00:00:22.310 --> 00:00:22.320 align:start position:0%
Instead, I just set the size as big as
 

00:00:22.320 --> 00:00:23.750 align:start position:0%
Instead, I just set the size as big as
possible<00:00:22.760><c> and</c><00:00:22.840><c> the</c><00:00:22.920><c> mines</c><00:00:23.280><c> as</c><00:00:23.440><c> low</c><00:00:23.640><c> as</c>

00:00:23.750 --> 00:00:23.760 align:start position:0%
possible and the mines as low as
 

00:00:23.760 --> 00:00:25.030 align:start position:0%
possible and the mines as low as
possible<00:00:24.160><c> and</c><00:00:24.360><c> pretend</c><00:00:24.760><c> I</c><00:00:24.840><c> was</c><00:00:24.960><c> a</c>

00:00:25.030 --> 00:00:25.040 align:start position:0%
possible and pretend I was a
 

00:00:25.040 --> 00:00:27.630 align:start position:0%
possible and pretend I was a
minesweeping<00:00:25.840><c> god.</c><00:00:26.680><c> Have</c><00:00:26.880><c> you</c><00:00:26.920><c> ever</c><00:00:27.400><c> seen</c><00:00:27.600><c> a</c>

00:00:27.630 --> 00:00:27.640 align:start position:0%
minesweeping god. Have you ever seen a
 

00:00:27.640 --> 00:00:29.870 align:start position:0%
minesweeping god. Have you ever seen a
1-second<00:00:28.360><c> speedrun?</c><00:00:29.160><c> But</c><00:00:29.280><c> recently,</c><00:00:29.680><c> I</c><00:00:29.720><c> was</c>

00:00:29.870 --> 00:00:29.880 align:start position:0%
1-second speedrun? But recently, I was
 

00:00:29.880 --> 00:00:31.630 align:start position:0%
1-second speedrun? But recently, I was
playing<00:00:30.120><c> around</c><00:00:30.400><c> with</c><00:00:30.520><c> the</c><00:00:30.760><c> Flash</c><00:00:31.160><c> emulator</c>

00:00:31.630 --> 00:00:31.640 align:start position:0%
playing around with the Flash emulator
 

00:00:31.640 --> 00:00:33.550 align:start position:0%
playing around with the Flash emulator
Ruffle<00:00:32.119><c> and</c><00:00:32.360><c> came</c><00:00:32.520><c> across</c><00:00:32.759><c> this</c><00:00:32.960><c> gag</c><00:00:33.360><c> in</c><00:00:33.440><c> an</c>

00:00:33.550 --> 00:00:33.560 align:start position:0%
Ruffle and came across this gag in an
 

00:00:33.560 --> 00:00:36.550 align:start position:0%
Ruffle and came across this gag in an
old<00:00:33.800><c> Flash</c><00:00:34.120><c> game</c><00:00:34.400><c> called</c><00:00:34.720><c> Windows</c><00:00:35.280><c> HIV.</c><00:00:36.440><c> And</c>

00:00:36.550 --> 00:00:36.560 align:start position:0%
old Flash game called Windows HIV. And
 

00:00:36.560 --> 00:00:38.070 align:start position:0%
old Flash game called Windows HIV. And
of<00:00:36.640><c> course,</c><00:00:37.000><c> I'm</c><00:00:37.160><c> the</c><00:00:37.280><c> kind</c><00:00:37.440><c> of</c><00:00:37.520><c> person</c><00:00:37.840><c> who's</c>

00:00:38.070 --> 00:00:38.080 align:start position:0%
of course, I'm the kind of person who's
 

00:00:38.080 --> 00:00:40.030 align:start position:0%
of course, I'm the kind of person who's
like

00:00:40.030 --> 00:00:40.040 align:start position:0%
like
 

00:00:40.040 --> 00:00:41.630 align:start position:0%
like
I<00:00:40.120><c> wonder</c><00:00:40.280><c> if</c><00:00:40.360><c> you</c><00:00:40.440><c> can</c><00:00:40.560><c> actually</c><00:00:40.800><c> do</c><00:00:40.920><c> that.</c><00:00:41.560><c> I</c>

00:00:41.630 --> 00:00:41.640 align:start position:0%
I wonder if you can actually do that. I
 

00:00:41.640 --> 00:00:43.110 align:start position:0%
I wonder if you can actually do that. I
mean,<00:00:41.840><c> hey,</c><00:00:42.080><c> April</c><00:00:42.320><c> Fools'</c><00:00:42.560><c> was</c><00:00:42.680><c> coming</c><00:00:42.920><c> up,</c>

00:00:43.110 --> 00:00:43.120 align:start position:0%
mean, hey, April Fools' was coming up,
 

00:00:43.120 --> 00:00:44.750 align:start position:0%
mean, hey, April Fools' was coming up,
so<00:00:43.400><c> I</c><00:00:43.440><c> thought</c><00:00:43.600><c> it</c><00:00:43.680><c> might</c><00:00:43.800><c> make</c><00:00:44.040><c> a</c>

00:00:44.750 --> 00:00:44.760 align:start position:0%
so I thought it might make a
 

00:00:44.760 --> 00:00:46.750 align:start position:0%
so I thought it might make a
worthy<00:00:45.040><c> prank.</c><00:00:46.000><c> First,</c><00:00:46.240><c> let's</c><00:00:46.440><c> make</c><00:00:46.560><c> sure</c><00:00:46.680><c> I'm</c>

00:00:46.750 --> 00:00:46.760 align:start position:0%
worthy prank. First, let's make sure I'm
 

00:00:46.760 --> 00:00:48.310 align:start position:0%
worthy prank. First, let's make sure I'm
not<00:00:46.960><c> being</c><00:00:47.200><c> a</c><00:00:47.360><c> tourist</c><00:00:47.720><c> and</c><00:00:47.840><c> you</c><00:00:47.920><c> can't</c><00:00:48.160><c> just</c>

00:00:48.310 --> 00:00:48.320 align:start position:0%
not being a tourist and you can't just
 

00:00:48.320 --> 00:00:49.830 align:start position:0%
not being a tourist and you can't just
set<00:00:48.480><c> the</c><00:00:48.560><c> mines</c><00:00:48.920><c> to</c><00:00:49.040><c> a</c><00:00:49.120><c> high</c><00:00:49.280><c> enough</c><00:00:49.520><c> number</c><00:00:49.760><c> to</c>

00:00:49.830 --> 00:00:49.840 align:start position:0%
set the mines to a high enough number to
 

00:00:49.840 --> 00:00:52.830 align:start position:0%
set the mines to a high enough number to
fill<00:00:50.000><c> the</c><00:00:50.080><c> screen.</c><00:00:50.800><c> 9</c><00:00:51.000><c> *</c><00:00:51.200><c> 9</c><00:00:51.480><c> is</c><00:00:51.600><c> 81,</c><00:00:52.200><c> so</c><00:00:52.600><c> let's</c>

00:00:52.830 --> 00:00:52.840 align:start position:0%
fill the screen. 9 * 9 is 81, so let's
 

00:00:52.840 --> 00:00:56.910 align:start position:0%
fill the screen. 9 * 9 is 81, so let's
put<00:00:53.000><c> that</c><00:00:53.200><c> in.</c><00:00:53.880><c> No,</c><00:00:54.360><c> it's</c><00:00:54.680><c> limited</c><00:00:55.000><c> at</c><00:00:55.160><c> to</c><00:00:55.280><c> 64.</c>

00:00:56.910 --> 00:00:56.920 align:start position:0%
put that in. No, it's limited at to 64.
 

00:00:56.920 --> 00:00:58.910 align:start position:0%
put that in. No, it's limited at to 64.
And<00:00:57.040><c> if</c><00:00:57.120><c> I</c><00:00:57.160><c> choose</c><00:00:57.440><c> the</c><00:00:57.720><c> expert</c><00:00:58.280><c> size,</c><00:00:58.760><c> it</c>

00:00:58.910 --> 00:00:58.920 align:start position:0%
And if I choose the expert size, it
 

00:00:58.920 --> 00:01:01.750 align:start position:0%
And if I choose the expert size, it
limits<00:00:59.240><c> to</c><00:00:59.600><c> 435.</c>

00:01:01.750 --> 00:01:01.760 align:start position:0%
limits to 435.
 

00:01:01.760 --> 00:01:02.710 align:start position:0%
limits to 435.
So<00:01:01.880><c> I</c><00:01:01.920><c> guess</c><00:01:02.040><c> there's</c><00:01:02.200><c> some</c><00:01:02.400><c> sort</c><00:01:02.600><c> of</c>

00:01:02.710 --> 00:01:02.720 align:start position:0%
So I guess there's some sort of
 

00:01:02.720 --> 00:01:04.270 align:start position:0%
So I guess there's some sort of
algorithm<00:01:03.200><c> in</c><00:01:03.280><c> place</c><00:01:03.600><c> ensuring</c><00:01:04.040><c> that</c><00:01:04.160><c> the</c>

00:01:04.270 --> 00:01:04.280 align:start position:0%
algorithm in place ensuring that the
 

00:01:04.280 --> 00:01:07.350 align:start position:0%
algorithm in place ensuring that the
game<00:01:04.640><c> remains</c><00:01:06.000><c> well,</c><00:01:06.800><c> I</c><00:01:06.840><c> don't</c><00:01:06.960><c> want</c><00:01:07.080><c> to</c><00:01:07.120><c> say</c>

00:01:07.350 --> 00:01:07.360 align:start position:0%
game remains well, I don't want to say
 

00:01:07.360 --> 00:01:09.470 align:start position:0%
game remains well, I don't want to say
winnable<00:01:07.880><c> exactly.</c><00:01:08.680><c> Well,</c><00:01:09.000><c> looks</c><00:01:09.240><c> like</c><00:01:09.360><c> this</c>

00:01:09.470 --> 00:01:09.480 align:start position:0%
winnable exactly. Well, looks like this
 

00:01:09.480 --> 00:01:11.030 align:start position:0%
winnable exactly. Well, looks like this
is<00:01:09.600><c> going</c><00:01:09.720><c> to</c><00:01:09.760><c> require</c><00:01:10.160><c> some</c><00:01:10.320><c> hacking</c><00:01:10.720><c> after</c>

00:01:11.030 --> 00:01:11.040 align:start position:0%
is going to require some hacking after
 

00:01:11.040 --> 00:01:13.310 align:start position:0%
is going to require some hacking after
all,<00:01:11.200><c> so</c><00:01:12.000><c> let's</c><00:01:12.200><c> get</c><00:01:12.360><c> to</c><00:01:12.560><c> it.</c><00:01:13.160><c> So</c>

00:01:13.310 --> 00:01:13.320 align:start position:0%
all, so let's get to it. So
 

00:01:13.320 --> 00:01:14.750 align:start position:0%
all, so let's get to it. So
occasionally,<00:01:13.800><c> people</c><00:01:14.160><c> just</c><00:01:14.360><c> getting</c><00:01:14.560><c> into</c>

00:01:14.750 --> 00:01:14.760 align:start position:0%
occasionally, people just getting into
 

00:01:14.760 --> 00:01:16.750 align:start position:0%
occasionally, people just getting into
ROM<00:01:14.920><c> hacking</c><00:01:15.320><c> ask</c><00:01:15.680><c> how</c><00:01:16.040><c> I</c><00:01:16.160><c> know</c><00:01:16.400><c> where</c><00:01:16.640><c> to</c>

00:01:16.750 --> 00:01:16.760 align:start position:0%
ROM hacking ask how I know where to
 

00:01:16.760 --> 00:01:18.590 align:start position:0%
ROM hacking ask how I know where to
start.<00:01:17.520><c> I</c><00:01:17.600><c> mean,</c><00:01:17.840><c> in</c><00:01:17.960><c> a</c><00:01:18.000><c> program</c><00:01:18.400><c> with</c>

00:01:18.590 --> 00:01:18.600 align:start position:0%
start. I mean, in a program with
 

00:01:18.600 --> 00:01:20.710 align:start position:0%
start. I mean, in a program with
thousands<00:01:19.280><c> or</c><00:01:19.480><c> even</c><00:01:19.760><c> millions</c><00:01:20.280><c> of</c><00:01:20.400><c> lines</c><00:01:20.640><c> of</c>

00:01:20.710 --> 00:01:20.720 align:start position:0%
thousands or even millions of lines of
 

00:01:20.720 --> 00:01:22.710 align:start position:0%
thousands or even millions of lines of
assembly<00:01:21.080><c> code,</c><00:01:21.440><c> how</c><00:01:21.600><c> do</c><00:01:21.720><c> you</c><00:01:21.840><c> find</c><00:01:22.560><c> the</c>

00:01:22.710 --> 00:01:22.720 align:start position:0%
assembly code, how do you find the
 

00:01:22.720 --> 00:01:24.830 align:start position:0%
assembly code, how do you find the
thing?<00:01:23.400><c> Well,</c><00:01:23.600><c> the</c><00:01:23.680><c> truth</c><00:01:23.920><c> is</c><00:01:24.080><c> it's</c><00:01:24.240><c> mostly</c>

00:01:24.830 --> 00:01:24.840 align:start position:0%
thing? Well, the truth is it's mostly
 

00:01:24.840 --> 00:01:27.270 align:start position:0%
thing? Well, the truth is it's mostly
educated<00:01:25.400><c> guesses</c><00:01:25.920><c> and</c><00:01:26.360><c> luck.</c><00:01:26.720><c> However,</c><00:01:27.080><c> on</c>

00:01:27.270 --> 00:01:27.280 align:start position:0%
educated guesses and luck. However, on
 

00:01:27.280 --> 00:01:29.590 align:start position:0%
educated guesses and luck. However, on
PC,<00:01:27.920><c> you</c><00:01:28.120><c> do</c><00:01:28.320><c> get</c><00:01:28.480><c> a</c><00:01:28.520><c> huge</c><00:01:29.040><c> benefit</c><00:01:29.440><c> in</c><00:01:29.520><c> the</c>

00:01:29.590 --> 00:01:29.600 align:start position:0%
PC, you do get a huge benefit in the
 

00:01:29.600 --> 00:01:32.310 align:start position:0%
PC, you do get a huge benefit in the
form<00:01:30.040><c> of</c><00:01:30.400><c> export</c><00:01:30.920><c> symbols.</c><00:01:31.680><c> What</c><00:01:31.840><c> are</c><00:01:31.920><c> export</c>

00:01:32.310 --> 00:01:32.320 align:start position:0%
form of export symbols. What are export
 

00:01:32.320 --> 00:01:33.750 align:start position:0%
form of export symbols. What are export
symbols?<00:01:33.040><c> They're</c><00:01:33.160><c> the</c><00:01:33.280><c> main</c><00:01:33.480><c> way</c><00:01:33.600><c> that</c><00:01:33.720><c> a</c>

00:01:33.750 --> 00:01:33.760 align:start position:0%
symbols? They're the main way that a
 

00:01:33.760 --> 00:01:36.230 align:start position:0%
symbols? They're the main way that a
process<00:01:34.160><c> calls</c><00:01:34.480><c> code</c><00:01:34.920><c> in</c><00:01:35.000><c> another</c><00:01:35.320><c> library.</c>

00:01:36.230 --> 00:01:36.240 align:start position:0%
process calls code in another library.
 

00:01:36.240 --> 00:01:37.990 align:start position:0%
process calls code in another library.
Libraries<00:01:36.640><c> like</c><00:01:36.760><c> the</c><00:01:36.840><c> ones</c><00:01:37.040><c> in</c><00:01:37.160><c> Windows</c><00:01:37.680><c> or</c>

00:01:37.990 --> 00:01:38.000 align:start position:0%
Libraries like the ones in Windows or
 

00:01:38.000 --> 00:01:40.030 align:start position:0%
Libraries like the ones in Windows or
the<00:01:38.120><c> standard</c><00:01:38.520><c> C</c><00:01:38.720><c> library.</c><00:01:39.520><c> Since</c><00:01:39.800><c> all</c><00:01:39.960><c> of</c>

00:01:40.030 --> 00:01:40.040 align:start position:0%
the standard C library. Since all of
 

00:01:40.040 --> 00:01:41.670 align:start position:0%
the standard C library. Since all of
these<00:01:40.240><c> libraries</c><00:01:40.640><c> are</c><00:01:40.720><c> well</c><00:01:40.960><c> documented,</c>

00:01:41.670 --> 00:01:41.680 align:start position:0%
these libraries are well documented,
 

00:01:41.680 --> 00:01:42.830 align:start position:0%
these libraries are well documented,
even<00:01:41.840><c> if</c><00:01:41.960><c> we</c><00:01:42.040><c> know</c><00:01:42.160><c> nothing</c><00:01:42.520><c> about</c><00:01:42.800><c> the</c>

00:01:42.830 --> 00:01:42.840 align:start position:0%
even if we know nothing about the
 

00:01:42.840 --> 00:01:44.630 align:start position:0%
even if we know nothing about the
Minesweeper<00:01:43.360><c> code</c><00:01:43.600><c> itself,</c><00:01:44.200><c> we</c><00:01:44.320><c> can</c><00:01:44.440><c> still</c>

00:01:44.630 --> 00:01:44.640 align:start position:0%
Minesweeper code itself, we can still
 

00:01:44.640 --> 00:01:46.230 align:start position:0%
Minesweeper code itself, we can still
get<00:01:44.760><c> a</c><00:01:44.800><c> good</c><00:01:44.960><c> idea</c><00:01:45.200><c> what</c><00:01:45.320><c> it's</c><00:01:45.520><c> doing</c><00:01:45.880><c> by</c><00:01:46.040><c> how</c>

00:01:46.230 --> 00:01:46.240 align:start position:0%
get a good idea what it's doing by how
 

00:01:46.240 --> 00:01:48.350 align:start position:0%
get a good idea what it's doing by how
it<00:01:46.400><c> calls</c><00:01:46.760><c> these</c><00:01:46.960><c> other</c><00:01:47.160><c> functions.</c><00:01:48.160><c> So</c><00:01:48.280><c> we</c>

00:01:48.350 --> 00:01:48.360 align:start position:0%
it calls these other functions. So we
 

00:01:48.360 --> 00:01:49.950 align:start position:0%
it calls these other functions. So we
want<00:01:48.480><c> to</c><00:01:48.560><c> find</c><00:01:48.800><c> whatever</c><00:01:49.080><c> code</c><00:01:49.520><c> sets</c><00:01:49.840><c> the</c>

00:01:49.950 --> 00:01:49.960 align:start position:0%
want to find whatever code sets the
 

00:01:49.960 --> 00:01:52.190 align:start position:0%
want to find whatever code sets the
tiles<00:01:50.400><c> to</c><00:01:50.560><c> mines.</c><00:01:51.240><c> Well,</c><00:01:51.560><c> we</c><00:01:51.640><c> know</c><00:01:51.800><c> it</c><00:01:51.880><c> places</c>

00:01:52.190 --> 00:01:52.200 align:start position:0%
tiles to mines. Well, we know it places
 

00:01:52.200 --> 00:01:53.910 align:start position:0%
tiles to mines. Well, we know it places
them<00:01:52.320><c> randomly,</c><00:01:52.960><c> and</c><00:01:53.320><c> unless</c><00:01:53.560><c> they</c><00:01:53.680><c> went</c><00:01:53.840><c> to</c>

00:01:53.910 --> 00:01:53.920 align:start position:0%
them randomly, and unless they went to
 

00:01:53.920 --> 00:01:55.230 align:start position:0%
them randomly, and unless they went to
all<00:01:54.120><c> the</c><00:01:54.200><c> trouble</c><00:01:54.560><c> of</c><00:01:54.680><c> writing</c><00:01:54.920><c> their</c><00:01:55.080><c> own</c>

00:01:55.230 --> 00:01:55.240 align:start position:0%
all the trouble of writing their own
 

00:01:55.240 --> 00:01:56.710 align:start position:0%
all the trouble of writing their own
random<00:01:55.600><c> generator</c><00:01:56.040><c> into</c><00:01:56.200><c> the</c><00:01:56.280><c> game,</c><00:01:56.520><c> it</c>

00:01:56.710 --> 00:01:56.720 align:start position:0%
random generator into the game, it
 

00:01:56.720 --> 00:01:58.710 align:start position:0%
random generator into the game, it
probably<00:01:57.200><c> uses</c><00:01:57.520><c> a</c><00:01:57.560><c> standard</c><00:01:58.000><c> function</c><00:01:58.440><c> from</c>

00:01:58.710 --> 00:01:58.720 align:start position:0%
probably uses a standard function from
 

00:01:58.720 --> 00:02:00.470 align:start position:0%
probably uses a standard function from
one<00:01:58.880><c> of</c><00:01:58.920><c> the</c><00:01:59.040><c> aforementioned</c><00:01:59.600><c> libraries.</c>

00:02:00.470 --> 00:02:00.480 align:start position:0%
one of the aforementioned libraries.
 

00:02:00.480 --> 00:02:01.950 align:start position:0%
one of the aforementioned libraries.
Checking<00:02:00.760><c> over</c><00:02:00.920><c> the</c><00:02:01.000><c> symbols,</c><00:02:01.440><c> we</c><00:02:01.520><c> can</c><00:02:01.720><c> see</c>

00:02:01.950 --> 00:02:01.960 align:start position:0%
Checking over the symbols, we can see
 

00:02:01.960 --> 00:02:04.150 align:start position:0%
Checking over the symbols, we can see
that<00:02:02.240><c> yep,</c><00:02:02.600><c> it</c><00:02:02.800><c> imports</c><00:02:03.320><c> rand</c><00:02:03.800><c> from</c><00:02:04.000><c> the</c>

00:02:04.150 --> 00:02:04.160 align:start position:0%
that yep, it imports rand from the
 

00:02:04.160 --> 00:02:06.190 align:start position:0%
that yep, it imports rand from the
standard<00:02:04.680><c> C</c><00:02:04.840><c> library.</c><00:02:05.720><c> I'll</c><00:02:05.960><c> put</c><00:02:06.160><c> a</c>

00:02:06.190 --> 00:02:06.200 align:start position:0%
standard C library. I'll put a
 

00:02:06.200 --> 00:02:07.710 align:start position:0%
standard C library. I'll put a
breakpoint<00:02:06.680><c> on</c><00:02:06.800><c> that,</c><00:02:07.080><c> which</c><00:02:07.360><c> basically</c>

00:02:07.710 --> 00:02:07.720 align:start position:0%
breakpoint on that, which basically
 

00:02:07.720 --> 00:02:09.430 align:start position:0%
breakpoint on that, which basically
means<00:02:08.000><c> the</c><00:02:08.080><c> debugger</c><00:02:08.520><c> will</c><00:02:08.720><c> pause</c><00:02:09.039><c> the</c><00:02:09.119><c> game</c>

00:02:09.430 --> 00:02:09.440 align:start position:0%
means the debugger will pause the game
 

00:02:09.440 --> 00:02:10.749 align:start position:0%
means the debugger will pause the game
and<00:02:09.679><c> tell</c><00:02:09.840><c> us</c><00:02:09.960><c> whenever</c><00:02:10.200><c> that</c><00:02:10.320><c> function</c><00:02:10.640><c> is</c>

00:02:10.749 --> 00:02:10.759 align:start position:0%
and tell us whenever that function is
 

00:02:10.759 --> 00:02:12.070 align:start position:0%
and tell us whenever that function is
called<00:02:11.040><c> so</c><00:02:11.160><c> we</c><00:02:11.240><c> can</c><00:02:11.400><c> see</c><00:02:11.560><c> exactly</c><00:02:11.959><c> what's</c>

00:02:12.070 --> 00:02:12.080 align:start position:0%
called so we can see exactly what's
 

00:02:12.080 --> 00:02:14.550 align:start position:0%
called so we can see exactly what's
going<00:02:12.320><c> on.</c><00:02:13.120><c> And</c><00:02:13.440><c> there</c><00:02:13.600><c> we</c><00:02:13.720><c> go.</c><00:02:14.200><c> Here's</c><00:02:14.440><c> where</c>

00:02:14.550 --> 00:02:14.560 align:start position:0%
going on. And there we go. Here's where
 

00:02:14.560 --> 00:02:16.630 align:start position:0%
going on. And there we go. Here's where
the<00:02:14.640><c> game</c><00:02:14.840><c> calls</c><00:02:15.080><c> rand.</c><00:02:15.760><c> The</c><00:02:15.840><c> game</c><00:02:16.080><c> only</c><00:02:16.280><c> uses</c>

00:02:16.630 --> 00:02:16.640 align:start position:0%
the game calls rand. The game only uses
 

00:02:16.640 --> 00:02:18.710 align:start position:0%
the game calls rand. The game only uses
rand<00:02:17.120><c> once,</c><00:02:17.640><c> wrapping</c><00:02:17.959><c> it</c><00:02:18.080><c> in</c><00:02:18.240><c> a</c><00:02:18.320><c> small</c>

00:02:18.710 --> 00:02:18.720 align:start position:0%
rand once, wrapping it in a small
 

00:02:18.720 --> 00:02:20.030 align:start position:0%
rand once, wrapping it in a small
function<00:02:19.080><c> that</c><00:02:19.200><c> I'm</c><00:02:19.320><c> going</c><00:02:19.480><c> to</c><00:02:19.560><c> assume</c><00:02:19.920><c> is</c>

00:02:20.030 --> 00:02:20.040 align:start position:0%
function that I'm going to assume is
 

00:02:20.040 --> 00:02:22.150 align:start position:0%
function that I'm going to assume is
used<00:02:20.360><c> to</c><00:02:20.560><c> limit</c><00:02:20.880><c> the</c><00:02:20.959><c> results</c><00:02:21.520><c> since</c><00:02:21.840><c> rand</c>

00:02:22.150 --> 00:02:22.160 align:start position:0%
used to limit the results since rand
 

00:02:22.160 --> 00:02:23.949 align:start position:0%
used to limit the results since rand
itself<00:02:22.680><c> doesn't</c><00:02:23.000><c> actually</c><00:02:23.320><c> have</c><00:02:23.440><c> any</c><00:02:23.600><c> options</c>

00:02:23.949 --> 00:02:23.959 align:start position:0%
itself doesn't actually have any options
 

00:02:23.959 --> 00:02:25.670 align:start position:0%
itself doesn't actually have any options
to<00:02:24.040><c> do</c><00:02:24.200><c> that.</c><00:02:24.640><c> This</c><00:02:24.840><c> wrapping</c><00:02:25.200><c> function</c><00:02:25.560><c> is</c>

00:02:25.670 --> 00:02:25.680 align:start position:0%
to do that. This wrapping function is
 

00:02:25.680 --> 00:02:27.630 align:start position:0%
to do that. This wrapping function is
called<00:02:26.120><c> twice</c><00:02:26.560><c> in</c><00:02:26.640><c> the</c><00:02:26.720><c> game,</c><00:02:27.040><c> both</c><00:02:27.400><c> in</c><00:02:27.560><c> the</c>

00:02:27.630 --> 00:02:27.640 align:start position:0%
called twice in the game, both in the
 

00:02:27.640 --> 00:02:29.710 align:start position:0%
called twice in the game, both in the
same<00:02:28.080><c> loop,</c><00:02:28.600><c> effectively</c><00:02:29.120><c> making</c><00:02:29.360><c> this</c><00:02:29.480><c> the</c>

00:02:29.710 --> 00:02:29.720 align:start position:0%
same loop, effectively making this the
 

00:02:29.720 --> 00:02:31.310 align:start position:0%
same loop, effectively making this the
only<00:02:29.959><c> place</c><00:02:30.240><c> in</c><00:02:30.320><c> the</c><00:02:30.360><c> game</c><00:02:30.680><c> where</c><00:02:30.920><c> randomly</c>

00:02:31.310 --> 00:02:31.320 align:start position:0%
only place in the game where randomly
 

00:02:31.320 --> 00:02:33.390 align:start position:0%
only place in the game where randomly
generated<00:02:31.760><c> numbers</c><00:02:32.080><c> are</c><00:02:32.280><c> used.</c><00:02:33.040><c> Looks</c><00:02:33.240><c> like</c>

00:02:33.390 --> 00:02:33.400 align:start position:0%
generated numbers are used. Looks like
 

00:02:33.400 --> 00:02:35.110 align:start position:0%
generated numbers are used. Looks like
where<00:02:33.560><c> we</c><00:02:33.640><c> want</c><00:02:33.760><c> to</c><00:02:33.840><c> be,</c><00:02:34.400><c> but</c><00:02:34.600><c> initially</c><00:02:35.040><c> the</c>

00:02:35.110 --> 00:02:35.120 align:start position:0%
where we want to be, but initially the
 

00:02:35.120 --> 00:02:36.790 align:start position:0%
where we want to be, but initially the
fact<00:02:35.320><c> that</c><00:02:35.440><c> it</c><00:02:35.480><c> was</c><00:02:35.600><c> called</c><00:02:35.959><c> twice</c><00:02:36.440><c> kind</c><00:02:36.680><c> of</c>

00:02:36.790 --> 00:02:36.800 align:start position:0%
fact that it was called twice kind of
 

00:02:36.800 --> 00:02:38.470 align:start position:0%
fact that it was called twice kind of
confused<00:02:37.360><c> me</c><00:02:37.480><c> because</c><00:02:37.760><c> for</c><00:02:37.840><c> some</c><00:02:38.000><c> reason</c><00:02:38.320><c> I'd</c>

00:02:38.470 --> 00:02:38.480 align:start position:0%
confused me because for some reason I'd
 

00:02:38.480 --> 00:02:40.310 align:start position:0%
confused me because for some reason I'd
assumed<00:02:38.920><c> the</c><00:02:39.000><c> way</c><00:02:39.120><c> it</c><00:02:39.240><c> would</c><00:02:39.440><c> work</c><00:02:40.000><c> is</c><00:02:40.160><c> by</c>

00:02:40.310 --> 00:02:40.320 align:start position:0%
assumed the way it would work is by
 

00:02:40.320 --> 00:02:42.590 align:start position:0%
assumed the way it would work is by
looping<00:02:40.680><c> over</c><00:02:41.000><c> every</c><00:02:41.360><c> tile</c><00:02:41.800><c> in</c><00:02:41.880><c> the</c><00:02:41.959><c> game</c><00:02:42.320><c> and</c>

00:02:42.590 --> 00:02:42.600 align:start position:0%
looping over every tile in the game and
 

00:02:42.600 --> 00:02:44.030 align:start position:0%
looping over every tile in the game and
randomly<00:02:43.000><c> deciding</c><00:02:43.480><c> if</c><00:02:43.600><c> it</c><00:02:43.640><c> was</c><00:02:43.760><c> going</c><00:02:43.880><c> to</c><00:02:43.920><c> be</c>

00:02:44.030 --> 00:02:44.040 align:start position:0%
randomly deciding if it was going to be
 

00:02:44.040 --> 00:02:46.230 align:start position:0%
randomly deciding if it was going to be
a<00:02:44.080><c> mine</c><00:02:44.440><c> or</c><00:02:44.600><c> not.</c><00:02:45.200><c> I</c><00:02:45.240><c> don't</c><00:02:45.400><c> know</c><00:02:45.680><c> why</c><00:02:46.120><c> I</c>

00:02:46.230 --> 00:02:46.240 align:start position:0%
a mine or not. I don't know why I
 

00:02:46.240 --> 00:02:48.270 align:start position:0%
a mine or not. I don't know why I
thought<00:02:46.600><c> this</c><00:02:46.840><c> because</c><00:02:47.240><c> it's</c><00:02:47.520><c> objectively</c><00:02:48.160><c> a</c>

00:02:48.270 --> 00:02:48.280 align:start position:0%
thought this because it's objectively a
 

00:02:48.280 --> 00:02:50.190 align:start position:0%
thought this because it's objectively a
pretty<00:02:48.640><c> bad</c><00:02:49.000><c> way</c><00:02:49.160><c> of</c><00:02:49.280><c> doing</c><00:02:49.560><c> that,</c><00:02:49.920><c> but</c>

00:02:50.190 --> 00:02:50.200 align:start position:0%
pretty bad way of doing that, but
 

00:02:50.200 --> 00:02:51.949 align:start position:0%
pretty bad way of doing that, but
eventually<00:02:50.640><c> I</c><00:02:50.720><c> realized</c><00:02:51.160><c> what</c><00:02:51.240><c> it</c><00:02:51.360><c> was</c><00:02:51.600><c> doing</c>

00:02:51.949 --> 00:02:51.959 align:start position:0%
eventually I realized what it was doing
 

00:02:51.959 --> 00:02:53.710 align:start position:0%
eventually I realized what it was doing
and<00:02:52.120><c> what</c><00:02:52.280><c> actually</c><00:02:52.560><c> made</c><00:02:52.760><c> a</c><00:02:52.800><c> lot</c><00:02:52.959><c> more</c><00:02:53.080><c> sense.</c>

00:02:53.710 --> 00:02:53.720 align:start position:0%
and what actually made a lot more sense.
 

00:02:53.720 --> 00:02:56.350 align:start position:0%
and what actually made a lot more sense.
It<00:02:53.880><c> chooses</c><00:02:54.280><c> a</c><00:02:54.440><c> random</c><00:02:55.000><c> X</c><00:02:55.360><c> and</c><00:02:55.600><c> Y</c><00:02:55.800><c> coordinate,</c>

00:02:56.350 --> 00:02:56.360 align:start position:0%
It chooses a random X and Y coordinate,
 

00:02:56.360 --> 00:02:58.430 align:start position:0%
It chooses a random X and Y coordinate,
hence<00:02:56.800><c> two</c><00:02:57.000><c> random</c><00:02:57.320><c> calls,</c><00:02:57.760><c> and</c><00:02:57.920><c> checks</c><00:02:58.240><c> if</c>

00:02:58.430 --> 00:02:58.440 align:start position:0%
hence two random calls, and checks if
 

00:02:58.440 --> 00:03:00.870 align:start position:0%
hence two random calls, and checks if
that<00:02:58.640><c> coordinate</c><00:02:59.280><c> is</c><00:02:59.519><c> a</c><00:02:59.640><c> mine,</c><00:03:00.320><c> setting</c><00:03:00.640><c> it</c><00:03:00.760><c> to</c>

00:03:00.870 --> 00:03:00.880 align:start position:0%
that coordinate is a mine, setting it to
 

00:03:00.880 --> 00:03:03.310 align:start position:0%
that coordinate is a mine, setting it to
a<00:03:00.920><c> mine</c><00:03:01.280><c> if</c><00:03:01.480><c> it</c><00:03:01.640><c> isn't.</c><00:03:02.320><c> It</c><00:03:02.480><c> does</c><00:03:02.680><c> this</c><00:03:02.840><c> on</c><00:03:03.000><c> loop</c>

00:03:03.310 --> 00:03:03.320 align:start position:0%
a mine if it isn't. It does this on loop
 

00:03:03.320 --> 00:03:04.790 align:start position:0%
a mine if it isn't. It does this on loop
until<00:03:03.600><c> it's</c><00:03:03.760><c> reached</c><00:03:04.000><c> the</c><00:03:04.080><c> number</c><00:03:04.320><c> of</c><00:03:04.440><c> mines</c>

00:03:04.790 --> 00:03:04.800 align:start position:0%
until it's reached the number of mines
 

00:03:04.800 --> 00:03:06.790 align:start position:0%
until it's reached the number of mines
it's<00:03:04.959><c> trying</c><00:03:05.280><c> to</c><00:03:05.360><c> make.</c><00:03:06.120><c> So</c><00:03:06.280><c> my</c><00:03:06.400><c> first</c><00:03:06.640><c> thought</c>

00:03:06.790 --> 00:03:06.800 align:start position:0%
it's trying to make. So my first thought
 

00:03:06.800 --> 00:03:08.670 align:start position:0%
it's trying to make. So my first thought
was<00:03:06.920><c> just</c><00:03:07.160><c> overriding</c><00:03:07.880><c> the</c><00:03:07.959><c> mine</c><00:03:08.200><c> count</c><00:03:08.519><c> in</c>

00:03:08.670 --> 00:03:08.680 align:start position:0%
was just overriding the mine count in
 

00:03:08.680 --> 00:03:10.590 align:start position:0%
was just overriding the mine count in
this<00:03:08.920><c> loop.</c><00:03:09.640><c> Sure,</c><00:03:09.840><c> it</c><00:03:09.920><c> limits</c><00:03:10.239><c> how</c><00:03:10.360><c> many</c>

00:03:10.590 --> 00:03:10.600 align:start position:0%
this loop. Sure, it limits how many
 

00:03:10.600 --> 00:03:12.630 align:start position:0%
this loop. Sure, it limits how many
mines<00:03:11.000><c> you</c><00:03:11.080><c> can</c><00:03:11.360><c> enter,</c><00:03:11.800><c> but</c><00:03:12.160><c> if</c><00:03:12.320><c> the</c><00:03:12.400><c> loop</c>

00:03:12.630 --> 00:03:12.640 align:start position:0%
mines you can enter, but if the loop
 

00:03:12.640 --> 00:03:14.550 align:start position:0%
mines you can enter, but if the loop
just<00:03:13.040><c> happened</c><00:03:13.360><c> to</c><00:03:13.480><c> make</c><00:03:13.680><c> more,</c><00:03:14.280><c> probably</c>

00:03:14.550 --> 00:03:14.560 align:start position:0%
just happened to make more, probably
 

00:03:14.560 --> 00:03:16.229 align:start position:0%
just happened to make more, probably
wouldn't<00:03:14.840><c> notice.</c><00:03:15.600><c> I</c><00:03:15.680><c> didn't</c><00:03:15.880><c> know</c><00:03:16.000><c> if</c><00:03:16.080><c> this</c>

00:03:16.229 --> 00:03:16.239 align:start position:0%
wouldn't notice. I didn't know if this
 

00:03:16.239 --> 00:03:18.270 align:start position:0%
wouldn't notice. I didn't know if this
would<00:03:16.440><c> work</c><00:03:16.800><c> because,</c><00:03:17.560><c> I</c><00:03:17.640><c> mean,</c><00:03:17.959><c> picking</c>

00:03:18.270 --> 00:03:18.280 align:start position:0%
would work because, I mean, picking
 

00:03:18.280 --> 00:03:20.710 align:start position:0%
would work because, I mean, picking
tiles<00:03:18.760><c> randomly</c><00:03:19.280><c> until</c><00:03:19.600><c> they're</c><00:03:19.880><c> all</c><00:03:20.200><c> mines</c>

00:03:20.710 --> 00:03:20.720 align:start position:0%
tiles randomly until they're all mines
 

00:03:20.720 --> 00:03:23.750 align:start position:0%
tiles randomly until they're all mines
is<00:03:20.959><c> not</c><00:03:21.400><c> very</c><00:03:21.720><c> efficient</c><00:03:22.400><c> at</c><00:03:22.560><c> all,</c><00:03:23.200><c> but</c><00:03:23.640><c> I</c>

00:03:23.750 --> 00:03:23.760 align:start position:0%
is not very efficient at all, but I
 

00:03:23.760 --> 00:03:26.949 align:start position:0%
is not very efficient at all, but I
wasn't<00:03:24.120><c> prepared</c><00:03:24.959><c> for</c><00:03:25.160><c> what</c><00:03:25.600><c> did</c><00:03:25.920><c> happen.</c><00:03:26.760><c> No</c>

00:03:26.949 --> 00:03:26.959 align:start position:0%
wasn't prepared for what did happen. No
 

00:03:26.959 --> 00:03:28.990 align:start position:0%
wasn't prepared for what did happen. No
infinite<00:03:27.360><c> loop,</c><00:03:27.720><c> not</c><00:03:27.920><c> even</c><00:03:28.120><c> any</c><00:03:28.480><c> noticeable</c>

00:03:28.990 --> 00:03:29.000 align:start position:0%
infinite loop, not even any noticeable
 

00:03:29.000 --> 00:03:31.949 align:start position:0%
infinite loop, not even any noticeable
slowdown,<00:03:29.959><c> just</c>

00:03:31.949 --> 00:03:31.959 align:start position:0%
slowdown, just
 

00:03:31.959 --> 00:03:35.110 align:start position:0%
slowdown, just
this.

00:03:35.110 --> 00:03:35.120 align:start position:0%
 
 

00:03:35.120 --> 00:03:38.910 align:start position:0%
 
So,<00:03:36.040><c> yeah,</c><00:03:37.000><c> in</c><00:03:37.200><c> an</c><00:03:37.320><c> attempt</c><00:03:37.880><c> to</c><00:03:38.000><c> make</c><00:03:38.519><c> all</c><00:03:38.800><c> of</c>

00:03:38.910 --> 00:03:38.920 align:start position:0%
So, yeah, in an attempt to make all of
 

00:03:38.920 --> 00:03:42.190 align:start position:0%
So, yeah, in an attempt to make all of
the<00:03:39.040><c> tiles</c><00:03:39.640><c> mines,</c><00:03:40.519><c> I've</c><00:03:40.800><c> made</c><00:03:41.600><c> none</c><00:03:41.920><c> of</c><00:03:42.080><c> the</c>

00:03:42.190 --> 00:03:42.200 align:start position:0%
the tiles mines, I've made none of the
 

00:03:42.200 --> 00:03:43.990 align:start position:0%
the tiles mines, I've made none of the
tiles<00:03:42.800><c> mines.</c>

00:03:43.990 --> 00:03:44.000 align:start position:0%
tiles mines.
 

00:03:44.000 --> 00:03:48.750 align:start position:0%
tiles mines.
This<00:03:45.000><c> made</c><00:03:45.880><c> no</c><00:03:46.200><c> sense</c><00:03:46.600><c> to</c><00:03:46.720><c> me</c><00:03:47.400><c> at</c><00:03:47.600><c> all</c><00:03:48.239><c> and</c>

00:03:48.750 --> 00:03:48.760 align:start position:0%
This made no sense to me at all and
 

00:03:48.760 --> 00:03:51.470 align:start position:0%
This made no sense to me at all and
stumped<00:03:49.200><c> me</c><00:03:49.360><c> for</c><00:03:49.560><c> quite</c><00:03:50.080><c> some</c><00:03:50.360><c> time.</c><00:03:51.239><c> On</c><00:03:51.400><c> a</c>

00:03:51.470 --> 00:03:51.480 align:start position:0%
stumped me for quite some time. On a
 

00:03:51.480 --> 00:03:53.310 align:start position:0%
stumped me for quite some time. On a
whim,<00:03:51.840><c> I</c><00:03:51.920><c> tried</c><00:03:52.240><c> some</c><00:03:52.480><c> slightly</c><00:03:53.000><c> lower</c>

00:03:53.310 --> 00:03:53.320 align:start position:0%
whim, I tried some slightly lower
 

00:03:53.320 --> 00:03:55.230 align:start position:0%
whim, I tried some slightly lower
numbers,<00:03:53.720><c> and</c><00:03:53.840><c> it</c><00:03:53.960><c> worked</c><00:03:54.320><c> pretty</c><00:03:54.640><c> much</c><00:03:55.080><c> as</c>

00:03:55.230 --> 00:03:55.240 align:start position:0%
numbers, and it worked pretty much as
 

00:03:55.240 --> 00:03:57.310 align:start position:0%
numbers, and it worked pretty much as
expected,<00:03:56.080><c> at</c><00:03:56.160><c> which</c><00:03:56.320><c> point</c><00:03:56.640><c> I</c><00:03:56.760><c> gradually</c>

00:03:57.310 --> 00:03:57.320 align:start position:0%
expected, at which point I gradually
 

00:03:57.320 --> 00:03:59.470 align:start position:0%
expected, at which point I gradually
figured<00:03:57.680><c> out</c><00:03:58.000><c> what</c><00:03:58.200><c> was</c><00:03:58.400><c> going</c><00:03:58.800><c> on.</c>

00:03:59.470 --> 00:03:59.480 align:start position:0%
figured out what was going on.
 

00:03:59.480 --> 00:04:00.830 align:start position:0%
figured out what was going on.
Apparently,<00:03:59.960><c> it's</c><00:04:00.080><c> a</c><00:04:00.120><c> common</c><00:04:00.480><c> rule</c><00:04:00.720><c> in</c>

00:04:00.830 --> 00:04:00.840 align:start position:0%
Apparently, it's a common rule in
 

00:04:00.840 --> 00:04:02.830 align:start position:0%
Apparently, it's a common rule in
Minesweeping<00:04:01.400><c> games</c><00:04:01.720><c> that</c><00:04:01.840><c> the</c><00:04:02.000><c> first</c><00:04:02.400><c> click</c>

00:04:02.830 --> 00:04:02.840 align:start position:0%
Minesweeping games that the first click
 

00:04:02.840 --> 00:04:05.070 align:start position:0%
Minesweeping games that the first click
not<00:04:03.240><c> be</c><00:04:03.480><c> a</c><00:04:03.600><c> mine.</c><00:04:04.400><c> I</c><00:04:04.480><c> guess</c><00:04:04.640><c> that</c><00:04:04.800><c> would</c><00:04:04.960><c> be</c>

00:04:05.070 --> 00:04:05.080 align:start position:0%
not be a mine. I guess that would be
 

00:04:05.080 --> 00:04:06.790 align:start position:0%
not be a mine. I guess that would be
pretty<00:04:05.320><c> unfair.</c><00:04:06.080><c> So,</c><00:04:06.200><c> on</c><00:04:06.320><c> the</c><00:04:06.400><c> off</c><00:04:06.520><c> chance</c>

00:04:06.790 --> 00:04:06.800 align:start position:0%
pretty unfair. So, on the off chance
 

00:04:06.800 --> 00:04:08.270 align:start position:0%
pretty unfair. So, on the off chance
that<00:04:06.920><c> you</c><00:04:07.120><c> do</c><00:04:07.440><c> click</c><00:04:07.680><c> on</c><00:04:07.760><c> a</c><00:04:07.800><c> mine</c><00:04:08.080><c> in</c><00:04:08.160><c> your</c>

00:04:08.270 --> 00:04:08.280 align:start position:0%
that you do click on a mine in your
 

00:04:08.280 --> 00:04:10.390 align:start position:0%
that you do click on a mine in your
first<00:04:08.600><c> move,</c><00:04:08.880><c> the</c><00:04:08.959><c> game</c><00:04:09.400><c> quietly</c><00:04:10.000><c> moves</c><00:04:10.280><c> it</c>

00:04:10.390 --> 00:04:10.400 align:start position:0%
first move, the game quietly moves it
 

00:04:10.400 --> 00:04:11.949 align:start position:0%
first move, the game quietly moves it
somewhere<00:04:10.760><c> else,</c><00:04:11.080><c> so</c><00:04:11.200><c> that</c><00:04:11.320><c> your</c><00:04:11.480><c> first</c><00:04:11.760><c> click</c>

00:04:11.949 --> 00:04:11.959 align:start position:0%
somewhere else, so that your first click
 

00:04:11.959 --> 00:04:14.350 align:start position:0%
somewhere else, so that your first click
is<00:04:12.080><c> always</c><00:04:12.440><c> safe.</c><00:04:13.360><c> So,</c><00:04:13.640><c> what</c><00:04:13.840><c> happens</c><00:04:14.160><c> when</c><00:04:14.240><c> we</c>

00:04:14.350 --> 00:04:14.360 align:start position:0%
is always safe. So, what happens when we
 

00:04:14.360 --> 00:04:16.430 align:start position:0%
is always safe. So, what happens when we
make<00:04:14.560><c> it</c><00:04:14.760><c> extremely</c><00:04:15.520><c> likely</c><00:04:15.880><c> that</c><00:04:16.000><c> your</c><00:04:16.120><c> first</c>

00:04:16.430 --> 00:04:16.440 align:start position:0%
make it extremely likely that your first
 

00:04:16.440 --> 00:04:18.150 align:start position:0%
make it extremely likely that your first
click,<00:04:16.799><c> and</c><00:04:17.000><c> in</c><00:04:17.120><c> fact</c><00:04:17.440><c> every</c><00:04:17.680><c> subsequent</c>

00:04:18.150 --> 00:04:18.160 align:start position:0%
click, and in fact every subsequent
 

00:04:18.160 --> 00:04:20.949 align:start position:0%
click, and in fact every subsequent
click,<00:04:18.400><c> is</c><00:04:18.600><c> going</c><00:04:18.840><c> to</c><00:04:18.959><c> be</c><00:04:19.280><c> on</c><00:04:19.440><c> a</c><00:04:19.519><c> mine?</c><00:04:20.400><c> Well,</c><00:04:20.799><c> I</c>

00:04:20.949 --> 00:04:20.959 align:start position:0%
click, is going to be on a mine? Well, I
 

00:04:20.959 --> 00:04:22.909 align:start position:0%
click, is going to be on a mine? Well, I
think<00:04:21.519><c> what's</c><00:04:21.720><c> happening</c><00:04:22.200><c> is</c><00:04:22.360><c> the</c><00:04:22.440><c> game</c><00:04:22.720><c> is</c>

00:04:22.909 --> 00:04:22.919 align:start position:0%
think what's happening is the game is
 

00:04:22.919 --> 00:04:24.750 align:start position:0%
think what's happening is the game is
still<00:04:23.200><c> trying</c><00:04:23.400><c> to</c><00:04:23.480><c> prevent</c><00:04:23.760><c> a</c><00:04:23.800><c> game</c><00:04:24.080><c> over,</c><00:04:24.440><c> but</c>

00:04:24.750 --> 00:04:24.760 align:start position:0%
still trying to prevent a game over, but
 

00:04:24.760 --> 00:04:26.909 align:start position:0%
still trying to prevent a game over, but
since<00:04:25.080><c> there</c><00:04:25.360><c> really</c><00:04:25.760><c> isn't</c><00:04:26.160><c> anywhere</c><00:04:26.600><c> for</c><00:04:26.800><c> it</c>

00:04:26.909 --> 00:04:26.919 align:start position:0%
since there really isn't anywhere for it
 

00:04:26.919 --> 00:04:29.710 align:start position:0%
since there really isn't anywhere for it
to<00:04:27.040><c> move</c><00:04:27.560><c> mines</c><00:04:28.160><c> to,</c><00:04:28.800><c> we</c><00:04:28.919><c> end</c><00:04:29.040><c> up</c><00:04:29.160><c> in</c><00:04:29.240><c> this</c><00:04:29.440><c> kind</c>

00:04:29.710 --> 00:04:29.720 align:start position:0%
to move mines to, we end up in this kind
 

00:04:29.720 --> 00:04:31.870 align:start position:0%
to move mines to, we end up in this kind
of<00:04:30.040><c> limbo</c><00:04:30.520><c> state</c><00:04:30.960><c> where</c><00:04:31.120><c> all</c><00:04:31.240><c> the</c><00:04:31.360><c> tiles</c><00:04:31.840><c> are</c>

00:04:31.870 --> 00:04:31.880 align:start position:0%
of limbo state where all the tiles are
 

00:04:31.880 --> 00:04:34.550 align:start position:0%
of limbo state where all the tiles are
both<00:04:32.240><c> mines</c><00:04:33.000><c> and</c><00:04:33.440><c> not</c><00:04:33.640><c> mines.</c><00:04:34.400><c> And</c><00:04:34.480><c> they</c>

00:04:34.550 --> 00:04:34.560 align:start position:0%
both mines and not mines. And they
 

00:04:34.560 --> 00:04:35.909 align:start position:0%
both mines and not mines. And they
probably<00:04:34.760><c> didn't</c><00:04:35.040><c> code</c><00:04:35.400><c> for</c><00:04:35.480><c> this</c><00:04:35.680><c> sort</c><00:04:35.840><c> of</c>

00:04:35.909 --> 00:04:35.919 align:start position:0%
probably didn't code for this sort of
 

00:04:35.919 --> 00:04:37.630 align:start position:0%
probably didn't code for this sort of
scenario,<00:04:36.360><c> because</c><00:04:36.760><c> ordinarily</c><00:04:37.320><c> the</c><00:04:37.400><c> game</c>

00:04:37.630 --> 00:04:37.640 align:start position:0%
scenario, because ordinarily the game
 

00:04:37.640 --> 00:04:40.390 align:start position:0%
scenario, because ordinarily the game
ensures<00:04:38.240><c> a</c><00:04:38.280><c> certain</c><00:04:38.640><c> amount</c><00:04:38.960><c> of</c><00:04:39.080><c> free</c><00:04:39.360><c> tiles.</c>

00:04:40.390 --> 00:04:40.400 align:start position:0%
ensures a certain amount of free tiles.
 

00:04:40.400 --> 00:04:41.830 align:start position:0%
ensures a certain amount of free tiles.
Well,<00:04:40.640><c> obviously</c><00:04:41.080><c> that's</c><00:04:41.280><c> not</c><00:04:41.440><c> going</c><00:04:41.560><c> to</c><00:04:41.600><c> work</c>

00:04:41.830 --> 00:04:41.840 align:start position:0%
Well, obviously that's not going to work
 

00:04:41.840 --> 00:04:43.590 align:start position:0%
Well, obviously that's not going to work
for<00:04:41.960><c> our</c><00:04:42.080><c> gag,</c><00:04:42.440><c> so</c><00:04:42.760><c> how</c><00:04:42.919><c> can</c><00:04:43.040><c> we</c><00:04:43.120><c> get</c><00:04:43.240><c> around</c>

00:04:43.590 --> 00:04:43.600 align:start position:0%
for our gag, so how can we get around
 

00:04:43.600 --> 00:04:45.790 align:start position:0%
for our gag, so how can we get around
this?<00:04:44.360><c> I</c><00:04:44.440><c> decided</c><00:04:44.760><c> to</c><00:04:44.840><c> whip</c><00:04:45.000><c> out</c><00:04:45.240><c> Cheat</c><00:04:45.480><c> Engine</c>

00:04:45.790 --> 00:04:45.800 align:start position:0%
this? I decided to whip out Cheat Engine
 

00:04:45.800 --> 00:04:47.510 align:start position:0%
this? I decided to whip out Cheat Engine
for<00:04:45.919><c> this.</c><00:04:46.400><c> It</c><00:04:46.520><c> can</c><00:04:46.640><c> be</c><00:04:46.760><c> a</c><00:04:46.840><c> little</c><00:04:47.120><c> better</c><00:04:47.400><c> for</c>

00:04:47.510 --> 00:04:47.520 align:start position:0%
for this. It can be a little better for
 

00:04:47.520 --> 00:04:49.590 align:start position:0%
for this. It can be a little better for
finding<00:04:47.919><c> specific</c><00:04:48.360><c> values</c><00:04:48.800><c> in</c><00:04:48.919><c> memory,</c><00:04:49.360><c> and</c>

00:04:49.590 --> 00:04:49.600 align:start position:0%
finding specific values in memory, and
 

00:04:49.600 --> 00:04:50.790 align:start position:0%
finding specific values in memory, and
is<00:04:49.680><c> another</c><00:04:50.040><c> good</c><00:04:50.080><c> way</c><00:04:50.200><c> to</c><00:04:50.320><c> find</c><00:04:50.560><c> where</c><00:04:50.680><c> to</c>

00:04:50.790 --> 00:04:50.800 align:start position:0%
is another good way to find where to
 

00:04:50.800 --> 00:04:52.750 align:start position:0%
is another good way to find where to
start<00:04:51.240><c> if</c><00:04:51.480><c> symbols</c><00:04:51.960><c> don't</c><00:04:52.200><c> happen</c><00:04:52.400><c> to</c><00:04:52.480><c> help</c><00:04:52.680><c> in</c>

00:04:52.750 --> 00:04:52.760 align:start position:0%
start if symbols don't happen to help in
 

00:04:52.760 --> 00:04:55.030 align:start position:0%
start if symbols don't happen to help in
a<00:04:52.800><c> situation.</c><00:04:53.680><c> I</c><00:04:53.760><c> made</c><00:04:54.000><c> a</c><00:04:54.120><c> guess</c><00:04:54.720><c> that</c><00:04:54.880><c> the</c>

00:04:55.030 --> 00:04:55.040 align:start position:0%
a situation. I made a guess that the
 

00:04:55.040 --> 00:04:56.630 align:start position:0%
a situation. I made a guess that the
value<00:04:55.320><c> we</c><00:04:55.440><c> were</c><00:04:55.560><c> looking</c><00:04:55.880><c> for</c><00:04:56.160><c> would</c><00:04:56.400><c> either</c>

00:04:56.630 --> 00:04:56.640 align:start position:0%
value we were looking for would either
 

00:04:56.640 --> 00:04:58.830 align:start position:0%
value we were looking for would either
be<00:04:56.800><c> a</c><00:04:56.880><c> boolean,</c><00:04:57.480><c> that</c><00:04:57.640><c> is</c><00:04:57.840><c> a</c><00:04:58.000><c> true</c><00:04:58.240><c> or</c><00:04:58.400><c> false</c>

00:04:58.830 --> 00:04:58.840 align:start position:0%
be a boolean, that is a true or false
 

00:04:58.840 --> 00:05:00.670 align:start position:0%
be a boolean, that is a true or false
that's<00:04:59.120><c> set</c><00:04:59.360><c> to</c><00:04:59.440><c> true</c><00:04:59.840><c> when</c><00:04:59.960><c> a</c><00:05:00.000><c> free</c><00:05:00.240><c> tile</c><00:05:00.560><c> is</c>

00:05:00.670 --> 00:05:00.680 align:start position:0%
that's set to true when a free tile is
 

00:05:00.680 --> 00:05:03.110 align:start position:0%
that's set to true when a free tile is
unveiled,<00:05:01.440><c> or</c><00:05:01.800><c> just</c><00:05:02.160><c> a</c><00:05:02.200><c> number</c><00:05:02.600><c> that</c><00:05:02.800><c> counts</c>

00:05:03.110 --> 00:05:03.120 align:start position:0%
unveiled, or just a number that counts
 

00:05:03.120 --> 00:05:04.870 align:start position:0%
unveiled, or just a number that counts
up<00:05:03.280><c> how</c><00:05:03.360><c> many</c><00:05:03.560><c> free</c><00:05:03.760><c> tiles</c><00:05:04.120><c> are</c><00:05:04.200><c> revealed.</c>

00:05:04.870 --> 00:05:04.880 align:start position:0%
up how many free tiles are revealed.
 

00:05:04.880 --> 00:05:06.310 align:start position:0%
up how many free tiles are revealed.
Either<00:05:05.080><c> way,</c><00:05:05.240><c> that</c><00:05:05.440><c> value</c><00:05:05.720><c> would</c><00:05:05.880><c> start</c><00:05:06.200><c> at</c>

00:05:06.310 --> 00:05:06.320 align:start position:0%
Either way, that value would start at
 

00:05:06.320 --> 00:05:08.550 align:start position:0%
Either way, that value would start at
zero<00:05:06.680><c> upon</c><00:05:06.960><c> reset,</c><00:05:07.640><c> and</c><00:05:07.880><c> would</c><00:05:08.000><c> be</c><00:05:08.200><c> greater</c>

00:05:08.550 --> 00:05:08.560 align:start position:0%
zero upon reset, and would be greater
 

00:05:08.560 --> 00:05:11.190 align:start position:0%
zero upon reset, and would be greater
than<00:05:08.720><c> zero</c><00:05:09.080><c> once</c><00:05:09.360><c> a</c><00:05:09.480><c> tile</c><00:05:09.919><c> was</c><00:05:10.120><c> revealed.</c><00:05:10.960><c> My</c>

00:05:11.190 --> 00:05:11.200 align:start position:0%
than zero once a tile was revealed. My
 

00:05:11.200 --> 00:05:13.510 align:start position:0%
than zero once a tile was revealed. My
hunch<00:05:11.600><c> turned</c><00:05:11.919><c> out</c><00:05:12.080><c> to</c><00:05:12.160><c> be</c><00:05:12.320><c> right,</c><00:05:12.800><c> and</c><00:05:13.000><c> I</c><00:05:13.080><c> soon</c>

00:05:13.510 --> 00:05:13.520 align:start position:0%
hunch turned out to be right, and I soon
 

00:05:13.520 --> 00:05:16.510 align:start position:0%
hunch turned out to be right, and I soon
found<00:05:13.800><c> value</c><00:05:14.240><c> where</c><00:05:14.440><c> if</c><00:05:14.600><c> I</c><00:05:14.720><c> forced</c><00:05:15.160><c> it</c><00:05:15.320><c> to</c><00:05:15.520><c> one,</c>

00:05:16.510 --> 00:05:16.520 align:start position:0%
found value where if I forced it to one,
 

00:05:16.520 --> 00:05:19.670 align:start position:0%
found value where if I forced it to one,
a<00:05:16.760><c> beautiful</c><00:05:17.640><c> grid</c><00:05:17.919><c> of</c><00:05:18.080><c> mines</c><00:05:18.560><c> appeared</c><00:05:19.080><c> every</c>

00:05:19.670 --> 00:05:19.680 align:start position:0%
a beautiful grid of mines appeared every
 

00:05:19.680 --> 00:05:21.990 align:start position:0%
a beautiful grid of mines appeared every
single<00:05:20.320><c> time.</c><00:05:21.320><c> So,</c><00:05:21.440><c> now</c><00:05:21.560><c> we</c><00:05:21.640><c> just</c><00:05:21.800><c> have</c><00:05:21.919><c> to</c>

00:05:21.990 --> 00:05:22.000 align:start position:0%
single time. So, now we just have to
 

00:05:22.000 --> 00:05:23.630 align:start position:0%
single time. So, now we just have to
find<00:05:22.240><c> the</c><00:05:22.360><c> assembly</c><00:05:22.760><c> instruction</c><00:05:23.240><c> that</c><00:05:23.400><c> sets</c>

00:05:23.630 --> 00:05:23.640 align:start position:0%
find the assembly instruction that sets
 

00:05:23.640 --> 00:05:26.390 align:start position:0%
find the assembly instruction that sets
it<00:05:23.720><c> to</c><00:05:23.840><c> zero</c><00:05:24.280><c> and</c><00:05:24.600><c> set</c><00:05:24.760><c> it</c><00:05:24.840><c> to</c><00:05:25.000><c> one</c><00:05:25.440><c> instead.</c>

00:05:26.390 --> 00:05:26.400 align:start position:0%
it to zero and set it to one instead.
 

00:05:26.400 --> 00:05:28.350 align:start position:0%
it to zero and set it to one instead.
Turns<00:05:26.760><c> out</c><00:05:27.120><c> it</c><00:05:27.200><c> was</c><00:05:27.440><c> right</c><00:05:27.680><c> under</c><00:05:27.840><c> my</c><00:05:27.960><c> nose</c><00:05:28.240><c> the</c>

00:05:28.350 --> 00:05:28.360 align:start position:0%
Turns out it was right under my nose the
 

00:05:28.360 --> 00:05:30.430 align:start position:0%
Turns out it was right under my nose the
whole<00:05:28.640><c> time.</c><00:05:29.360><c> Right</c><00:05:29.560><c> below</c><00:05:29.840><c> the</c><00:05:30.080><c> random</c>

00:05:30.430 --> 00:05:30.440 align:start position:0%
whole time. Right below the random
 

00:05:30.440 --> 00:05:31.870 align:start position:0%
whole time. Right below the random
placement<00:05:30.880><c> loop</c><00:05:31.080><c> was</c><00:05:31.240><c> the</c><00:05:31.320><c> instruction</c>

00:05:31.870 --> 00:05:31.880 align:start position:0%
placement loop was the instruction
 

00:05:31.880 --> 00:05:34.190 align:start position:0%
placement loop was the instruction
setting<00:05:32.160><c> it</c><00:05:32.320><c> to</c><00:05:32.560><c> zero.</c><00:05:33.320><c> Great.</c><00:05:33.840><c> The</c><00:05:33.960><c> only</c>

00:05:34.190 --> 00:05:34.200 align:start position:0%
setting it to zero. Great. The only
 

00:05:34.200 --> 00:05:37.390 align:start position:0%
setting it to zero. Great. The only
problem<00:05:34.600><c> now</c><00:05:35.120><c> is</c><00:05:36.160><c> replacing</c><00:05:36.760><c> it.</c><00:05:37.280><c> An</c>

00:05:37.390 --> 00:05:37.400 align:start position:0%
problem now is replacing it. An
 

00:05:37.400 --> 00:05:39.070 align:start position:0%
problem now is replacing it. An
instruction<00:05:37.840><c> that</c><00:05:37.960><c> sets</c><00:05:38.200><c> it</c><00:05:38.280><c> to</c><00:05:38.480><c> one</c><00:05:38.960><c> will</c>

00:05:39.070 --> 00:05:39.080 align:start position:0%
instruction that sets it to one will
 

00:05:39.080 --> 00:05:41.750 align:start position:0%
instruction that sets it to one will
require<00:05:39.520><c> more</c><00:05:39.800><c> bytes</c><00:05:40.200><c> than</c><00:05:40.400><c> we</c><00:05:40.600><c> have,</c><00:05:41.160><c> so</c>

00:05:41.750 --> 00:05:41.760 align:start position:0%
require more bytes than we have, so
 

00:05:41.760 --> 00:05:43.190 align:start position:0%
require more bytes than we have, so
we'll<00:05:41.960><c> have</c><00:05:42.120><c> to</c><00:05:42.240><c> make</c><00:05:42.440><c> some</c><00:05:42.560><c> more</c><00:05:42.760><c> space</c>

00:05:43.190 --> 00:05:43.200 align:start position:0%
we'll have to make some more space
 

00:05:43.200 --> 00:05:45.350 align:start position:0%
we'll have to make some more space
somehow.<00:05:44.080><c> Here's</c><00:05:44.280><c> what</c><00:05:44.360><c> we</c><00:05:44.480><c> can</c><00:05:44.640><c> do.</c><00:05:45.120><c> You</c><00:05:45.240><c> see</c>

00:05:45.350 --> 00:05:45.360 align:start position:0%
somehow. Here's what we can do. You see
 

00:05:45.360 --> 00:05:47.430 align:start position:0%
somehow. Here's what we can do. You see
this<00:05:45.520><c> other</c><00:05:45.720><c> instruction</c><00:05:46.320><c> here</c><00:05:46.640><c> that</c><00:05:46.960><c> also</c>

00:05:47.430 --> 00:05:47.440 align:start position:0%
this other instruction here that also
 

00:05:47.440 --> 00:05:49.190 align:start position:0%
this other instruction here that also
sets<00:05:47.800><c> something</c><00:05:48.080><c> to</c><00:05:48.240><c> one?</c><00:05:48.720><c> Setting</c><00:05:49.000><c> to</c><00:05:49.120><c> an</c>

00:05:49.190 --> 00:05:49.200 align:start position:0%
sets something to one? Setting to an
 

00:05:49.200 --> 00:05:51.310 align:start position:0%
sets something to one? Setting to an
immediate<00:05:49.720><c> value</c><00:05:50.000><c> such</c><00:05:50.240><c> as</c><00:05:50.320><c> this</c><00:05:50.520><c> one</c><00:05:51.040><c> rather</c>

00:05:51.310 --> 00:05:51.320 align:start position:0%
immediate value such as this one rather
 

00:05:51.320 --> 00:05:52.990 align:start position:0%
immediate value such as this one rather
than<00:05:51.680><c> the</c><00:05:51.800><c> value</c><00:05:52.040><c> of</c><00:05:52.120><c> a</c><00:05:52.200><c> register</c><00:05:52.760><c> like</c><00:05:52.920><c> the</c>

00:05:52.990 --> 00:05:53.000 align:start position:0%
than the value of a register like the
 

00:05:53.000 --> 00:05:54.430 align:start position:0%
than the value of a register like the
rest<00:05:53.200><c> of</c><00:05:53.240><c> these</c><00:05:53.440><c> instructions</c><00:05:54.040><c> takes</c><00:05:54.280><c> up</c><00:05:54.400><c> a</c>

00:05:54.430 --> 00:05:54.440 align:start position:0%
rest of these instructions takes up a
 

00:05:54.440 --> 00:05:56.470 align:start position:0%
rest of these instructions takes up a
lot<00:05:54.640><c> more</c><00:05:54.800><c> bytes</c><00:05:55.080><c> of</c><00:05:55.240><c> code</c><00:05:55.800><c> as</c><00:05:55.920><c> you</c><00:05:56.000><c> can</c><00:05:56.200><c> see</c>

00:05:56.470 --> 00:05:56.480 align:start position:0%
lot more bytes of code as you can see
 

00:05:56.480 --> 00:05:58.990 align:start position:0%
lot more bytes of code as you can see
over<00:05:56.760><c> here.</c><00:05:57.440><c> If</c><00:05:57.560><c> I</c><00:05:57.640><c> was</c><00:05:57.800><c> to</c><00:05:58.080><c> set</c><00:05:58.360><c> this</c><00:05:58.640><c> to</c><00:05:58.760><c> use</c>

00:05:58.990 --> 00:05:59.000 align:start position:0%
over here. If I was to set this to use
 

00:05:59.000 --> 00:06:01.350 align:start position:0%
over here. If I was to set this to use
the<00:05:59.200><c> EDI</c><00:05:59.680><c> register</c><00:06:00.120><c> rather</c><00:06:00.440><c> than</c><00:06:00.680><c> one,</c><00:06:01.120><c> it</c>

00:06:01.350 --> 00:06:01.360 align:start position:0%
the EDI register rather than one, it
 

00:06:01.360 --> 00:06:03.470 align:start position:0%
the EDI register rather than one, it
frees<00:06:01.680><c> up</c><00:06:01.880><c> quite</c><00:06:02.160><c> a</c><00:06:02.200><c> few</c><00:06:02.440><c> bytes.</c><00:06:03.120><c> Look</c><00:06:03.280><c> at</c><00:06:03.360><c> all</c>

00:06:03.470 --> 00:06:03.480 align:start position:0%
frees up quite a few bytes. Look at all
 

00:06:03.480 --> 00:06:05.470 align:start position:0%
frees up quite a few bytes. Look at all
this<00:06:03.760><c> room</c><00:06:04.000><c> for</c><00:06:04.160><c> activities.</c><00:06:05.160><c> Okay,</c><00:06:05.360><c> it's</c>

00:06:05.470 --> 00:06:05.480 align:start position:0%
this room for activities. Okay, it's
 

00:06:05.480 --> 00:06:07.190 align:start position:0%
this room for activities. Okay, it's
only<00:06:05.680><c> four</c><00:06:05.920><c> bytes,</c><00:06:06.320><c> but</c><00:06:06.560><c> it's</c><00:06:06.720><c> enough</c><00:06:07.000><c> room</c>

00:06:07.190 --> 00:06:07.200 align:start position:0%
only four bytes, but it's enough room
 

00:06:07.200 --> 00:06:08.950 align:start position:0%
only four bytes, but it's enough room
for<00:06:07.320><c> an</c><00:06:07.400><c> extra</c><00:06:07.680><c> instruction</c><00:06:08.240><c> that</c><00:06:08.440><c> increments</c>

00:06:08.950 --> 00:06:08.960 align:start position:0%
for an extra instruction that increments
 

00:06:08.960 --> 00:06:12.790 align:start position:0%
for an extra instruction that increments
EDI<00:06:09.400><c> by</c><00:06:09.720><c> one</c><00:06:10.320><c> so</c><00:06:10.520><c> that</c><00:06:10.760><c> now</c><00:06:11.680><c> it</c><00:06:11.800><c> equals</c><00:06:12.160><c> one.</c>

00:06:12.790 --> 00:06:12.800 align:start position:0%
EDI by one so that now it equals one.
 

00:06:12.800 --> 00:06:14.230 align:start position:0%
EDI by one so that now it equals one.
Then<00:06:12.960><c> we</c><00:06:13.080><c> can</c><00:06:13.240><c> shift</c><00:06:13.520><c> the</c><00:06:13.600><c> instruction</c><00:06:14.080><c> we</c>

00:06:14.230 --> 00:06:14.240 align:start position:0%
Then we can shift the instruction we
 

00:06:14.240 --> 00:06:16.590 align:start position:0%
Then we can shift the instruction we
want<00:06:14.560><c> down</c><00:06:15.120><c> so</c><00:06:15.160><c> that</c><00:06:15.360><c> when</c><00:06:15.520><c> it</c><00:06:15.640><c> runs</c><00:06:15.960><c> EDI</c><00:06:16.480><c> will</c>

00:06:16.590 --> 00:06:16.600 align:start position:0%
want down so that when it runs EDI will
 

00:06:16.600 --> 00:06:18.909 align:start position:0%
want down so that when it runs EDI will
be<00:06:16.720><c> set</c><00:06:16.920><c> to</c><00:06:17.040><c> one</c><00:06:17.320><c> for</c><00:06:17.520><c> it,</c><00:06:17.800><c> too.</c><00:06:18.400><c> Effectively</c>

00:06:18.909 --> 00:06:18.919 align:start position:0%
be set to one for it, too. Effectively
 

00:06:18.919 --> 00:06:20.830 align:start position:0%
be set to one for it, too. Effectively
setting<00:06:19.240><c> both</c><00:06:19.480><c> these</c><00:06:19.720><c> to</c><00:06:19.840><c> one</c><00:06:20.160><c> with</c><00:06:20.560><c> less</c>

00:06:20.830 --> 00:06:20.840 align:start position:0%
setting both these to one with less
 

00:06:20.840 --> 00:06:22.670 align:start position:0%
setting both these to one with less
bytes<00:06:21.160><c> than</c><00:06:21.280><c> before.</c><00:06:22.000><c> We</c><00:06:22.160><c> even</c><00:06:22.360><c> have</c><00:06:22.480><c> enough</c>

00:06:22.670 --> 00:06:22.680 align:start position:0%
bytes than before. We even have enough
 

00:06:22.680 --> 00:06:24.510 align:start position:0%
bytes than before. We even have enough
space<00:06:22.960><c> to</c><00:06:23.160><c> decrement</c><00:06:23.720><c> it</c><00:06:23.800><c> back</c><00:06:24.000><c> to</c><00:06:24.120><c> zero</c><00:06:24.400><c> for</c>

00:06:24.510 --> 00:06:24.520 align:start position:0%
space to decrement it back to zero for
 

00:06:24.520 --> 00:06:25.830 align:start position:0%
space to decrement it back to zero for
the<00:06:24.600><c> rest</c><00:06:24.800><c> of</c><00:06:24.880><c> the</c><00:06:24.960><c> function,</c><00:06:25.520><c> but</c><00:06:25.600><c> we</c><00:06:25.680><c> don't</c>

00:06:25.830 --> 00:06:25.840 align:start position:0%
the rest of the function, but we don't
 

00:06:25.840 --> 00:06:27.110 align:start position:0%
the rest of the function, but we don't
actually<00:06:26.120><c> have</c><00:06:26.360><c> to</c><00:06:26.480><c> do</c><00:06:26.600><c> that</c><00:06:26.760><c> because</c><00:06:27.000><c> the</c>

00:06:27.110 --> 00:06:27.120 align:start position:0%
actually have to do that because the
 

00:06:27.120 --> 00:06:29.390 align:start position:0%
actually have to do that because the
code<00:06:27.480><c> overwrites</c><00:06:28.040><c> EDI's</c><00:06:28.480><c> contents</c><00:06:29.000><c> shortly</c>

00:06:29.390 --> 00:06:29.400 align:start position:0%
code overwrites EDI's contents shortly
 

00:06:29.400 --> 00:06:31.470 align:start position:0%
code overwrites EDI's contents shortly
after<00:06:29.680><c> anyway.</c><00:06:30.400><c> And</c><00:06:30.640><c> with</c><00:06:30.760><c> that,</c><00:06:31.040><c> the</c><00:06:31.160><c> game</c>

00:06:31.470 --> 00:06:31.480 align:start position:0%
after anyway. And with that, the game
 

00:06:31.480 --> 00:06:34.390 align:start position:0%
after anyway. And with that, the game
lets<00:06:31.760><c> us</c><00:06:31.960><c> die</c><00:06:32.480><c> every</c><00:06:33.000><c> single</c><00:06:33.520><c> time.</c>

00:06:34.390 --> 00:06:34.400 align:start position:0%
lets us die every single time.
 

00:06:34.400 --> 00:06:36.150 align:start position:0%
lets us die every single time.
Excellent,<00:06:35.000><c> but</c><00:06:35.200><c> we're</c><00:06:35.280><c> not</c><00:06:35.480><c> done</c><00:06:35.680><c> yet,</c><00:06:36.000><c> are</c>

00:06:36.150 --> 00:06:36.160 align:start position:0%
Excellent, but we're not done yet, are
 

00:06:36.160 --> 00:06:38.070 align:start position:0%
Excellent, but we're not done yet, are
we?<00:06:36.760><c> This</c><00:06:36.919><c> is</c><00:06:37.040><c> all</c><00:06:37.240><c> well</c><00:06:37.440><c> and</c><00:06:37.560><c> good</c><00:06:37.880><c> for</c><00:06:38.000><c> the</c>

00:06:38.070 --> 00:06:38.080 align:start position:0%
we? This is all well and good for the
 

00:06:38.080 --> 00:06:39.909 align:start position:0%
we? This is all well and good for the
beginner<00:06:38.400><c> size,</c><00:06:38.800><c> but</c><00:06:39.040><c> since</c><00:06:39.280><c> the</c><00:06:39.360><c> mine</c><00:06:39.640><c> count</c>

00:06:39.909 --> 00:06:39.919 align:start position:0%
beginner size, but since the mine count
 

00:06:39.919 --> 00:06:42.750 align:start position:0%
beginner size, but since the mine count
is<00:06:40.040><c> now</c><00:06:40.280><c> hard-coded</c><00:06:41.120><c> to</c><00:06:41.240><c> 81,</c><00:06:42.040><c> for</c><00:06:42.160><c> any</c><00:06:42.360><c> larger</c>

00:06:42.750 --> 00:06:42.760 align:start position:0%
is now hard-coded to 81, for any larger
 

00:06:42.760 --> 00:06:44.950 align:start position:0%
is now hard-coded to 81, for any larger
sizes<00:06:43.320><c> it</c><00:06:43.520><c> doesn't</c><00:06:43.840><c> work</c><00:06:44.040><c> anymore.</c><00:06:44.720><c> So,</c><00:06:44.880><c> we're</c>

00:06:44.950 --> 00:06:44.960 align:start position:0%
sizes it doesn't work anymore. So, we're
 

00:06:44.960 --> 00:06:46.430 align:start position:0%
sizes it doesn't work anymore. So, we're
going<00:06:45.080><c> to</c><00:06:45.120><c> have</c><00:06:45.200><c> to</c><00:06:45.280><c> change</c><00:06:45.640><c> the</c><00:06:45.800><c> earlier</c><00:06:46.120><c> code</c>

00:06:46.430 --> 00:06:46.440 align:start position:0%
going to have to change the earlier code
 

00:06:46.440 --> 00:06:47.950 align:start position:0%
going to have to change the earlier code
to<00:06:46.680><c> calculate</c><00:06:47.200><c> the</c><00:06:47.280><c> amount</c><00:06:47.480><c> of</c><00:06:47.560><c> mines</c><00:06:47.880><c> it</c>

00:06:47.950 --> 00:06:47.960 align:start position:0%
to calculate the amount of mines it
 

00:06:47.960 --> 00:06:50.110 align:start position:0%
to calculate the amount of mines it
needs<00:06:48.320><c> on</c><00:06:48.480><c> the</c><00:06:48.560><c> fly,</c><00:06:49.320><c> and</c><00:06:49.480><c> once</c><00:06:49.680><c> again</c><00:06:49.960><c> we're</c>

00:06:50.110 --> 00:06:50.120 align:start position:0%
needs on the fly, and once again we're
 

00:06:50.120 --> 00:06:52.550 align:start position:0%
needs on the fly, and once again we're
in<00:06:50.280><c> luck</c><00:06:50.640><c> due</c><00:06:50.840><c> to</c><00:06:50.919><c> some</c><00:06:51.080><c> surrounding</c><00:06:51.680><c> code.</c><00:06:52.400><c> It</c>

00:06:52.550 --> 00:06:52.560 align:start position:0%
in luck due to some surrounding code. It
 

00:06:52.560 --> 00:06:55.430 align:start position:0%
in luck due to some surrounding code. It
turns<00:06:52.880><c> out</c><00:06:53.080><c> here</c><00:06:53.520><c> register</c><00:06:54.040><c> EAX</c><00:06:54.680><c> is</c><00:06:54.840><c> the</c><00:06:54.960><c> width</c>

00:06:55.430 --> 00:06:55.440 align:start position:0%
turns out here register EAX is the width
 

00:06:55.440 --> 00:06:58.110 align:start position:0%
turns out here register EAX is the width
and<00:06:55.680><c> register</c><00:06:56.120><c> ECX</c><00:06:56.840><c> is</c><00:06:57.000><c> the</c><00:06:57.120><c> height.</c><00:06:57.840><c> This</c><00:06:58.000><c> is</c>

00:06:58.110 --> 00:06:58.120 align:start position:0%
and register ECX is the height. This is
 

00:06:58.120 --> 00:07:00.110 align:start position:0%
and register ECX is the height. This is
actually<00:06:58.480><c> really</c><00:06:58.800><c> convenient</c><00:06:59.400><c> because</c><00:06:59.800><c> any</c>

00:07:00.110 --> 00:07:00.120 align:start position:0%
actually really convenient because any
 

00:07:00.120 --> 00:07:02.710 align:start position:0%
actually really convenient because any
X86<00:07:00.680><c> multiply</c><00:07:01.280><c> is</c><00:07:01.600><c> done</c><00:07:01.960><c> to</c><00:07:02.080><c> the</c><00:07:02.200><c> EAX</c>

00:07:02.710 --> 00:07:02.720 align:start position:0%
X86 multiply is done to the EAX
 

00:07:02.720 --> 00:07:04.990 align:start position:0%
X86 multiply is done to the EAX
register,<00:07:03.280><c> so</c><00:07:03.560><c> the</c><00:07:03.680><c> numbers</c><00:07:04.200><c> are</c><00:07:04.440><c> already</c>

00:07:04.990 --> 00:07:05.000 align:start position:0%
register, so the numbers are already
 

00:07:05.000 --> 00:07:07.150 align:start position:0%
register, so the numbers are already
where<00:07:05.200><c> we</c><00:07:05.320><c> want</c><00:07:05.520><c> them</c><00:07:05.640><c> to</c><00:07:05.760><c> be.</c><00:07:06.440><c> So,</c><00:07:06.760><c> the</c><00:07:06.880><c> simple</c>

00:07:07.150 --> 00:07:07.160 align:start position:0%
where we want them to be. So, the simple
 

00:07:07.160 --> 00:07:10.830 align:start position:0%
where we want them to be. So, the simple
instruction<00:07:07.919><c> mul</c><00:07:08.400><c> ECX,</c><00:07:09.080><c> or</c><00:07:09.280><c> multiply</c><00:07:09.840><c> by</c><00:07:10.120><c> ECX,</c>

00:07:10.830 --> 00:07:10.840 align:start position:0%
instruction mul ECX, or multiply by ECX,
 

00:07:10.840 --> 00:07:12.670 align:start position:0%
instruction mul ECX, or multiply by ECX,
will<00:07:11.080><c> get</c><00:07:11.280><c> the</c><00:07:11.400><c> exact</c><00:07:11.960><c> number</c><00:07:12.200><c> of</c><00:07:12.320><c> mines</c><00:07:12.600><c> we</c>

00:07:12.670 --> 00:07:12.680 align:start position:0%
will get the exact number of mines we
 

00:07:12.680 --> 00:07:14.950 align:start position:0%
will get the exact number of mines we
need<00:07:13.160><c> into</c><00:07:13.480><c> the</c><00:07:13.600><c> EAX</c><00:07:14.080><c> register.</c>

00:07:14.950 --> 00:07:14.960 align:start position:0%
need into the EAX register.
 

00:07:14.960 --> 00:07:16.750 align:start position:0%
need into the EAX register.
Coincidentally,<00:07:15.720><c> the</c><00:07:15.840><c> register</c><00:07:16.200><c> that's</c><00:07:16.400><c> used</c>

00:07:16.750 --> 00:07:16.760 align:start position:0%
Coincidentally, the register that's used
 

00:07:16.760 --> 00:07:19.070 align:start position:0%
Coincidentally, the register that's used
to<00:07:16.960><c> set</c><00:07:17.280><c> the</c><00:07:17.400><c> mine</c><00:07:17.640><c> count</c><00:07:17.919><c> in</c><00:07:18.040><c> memory.</c><00:07:18.640><c> Again,</c>

00:07:19.070 --> 00:07:19.080 align:start position:0%
to set the mine count in memory. Again,
 

00:07:19.080 --> 00:07:21.230 align:start position:0%
to set the mine count in memory. Again,
very<00:07:19.320><c> convenient.</c><00:07:20.200><c> So,</c><00:07:20.640><c> here's</c><00:07:20.880><c> what</c><00:07:21.000><c> we</c><00:07:21.080><c> can</c>

00:07:21.230 --> 00:07:21.240 align:start position:0%
very convenient. So, here's what we can
 

00:07:21.240 --> 00:07:23.070 align:start position:0%
very convenient. So, here's what we can
do.<00:07:21.840><c> We</c><00:07:21.960><c> can</c><00:07:22.160><c> naturally</c><00:07:22.600><c> knock</c><00:07:22.919><c> this</c>

00:07:23.070 --> 00:07:23.080 align:start position:0%
do. We can naturally knock this
 

00:07:23.080 --> 00:07:24.550 align:start position:0%
do. We can naturally knock this
instruction<00:07:23.640><c> that</c><00:07:23.760><c> loads</c><00:07:24.040><c> the</c><00:07:24.120><c> mine</c><00:07:24.320><c> count</c>

00:07:24.550 --> 00:07:24.560 align:start position:0%
instruction that loads the mine count
 

00:07:24.560 --> 00:07:26.190 align:start position:0%
instruction that loads the mine count
from<00:07:24.680><c> the</c><00:07:24.760><c> settings.</c><00:07:25.440><c> Next,</c><00:07:25.840><c> I'll</c><00:07:25.919><c> have</c><00:07:26.080><c> to</c>

00:07:26.190 --> 00:07:26.200 align:start position:0%
from the settings. Next, I'll have to
 

00:07:26.200 --> 00:07:27.550 align:start position:0%
from the settings. Next, I'll have to
shift<00:07:26.480><c> these</c><00:07:26.640><c> instructions</c><00:07:27.080><c> around</c><00:07:27.360><c> because</c>

00:07:27.550 --> 00:07:27.560 align:start position:0%
shift these instructions around because
 

00:07:27.560 --> 00:07:29.190 align:start position:0%
shift these instructions around because
of<00:07:27.640><c> the</c><00:07:27.680><c> function</c><00:07:28.080><c> call</c><00:07:28.360><c> here</c><00:07:28.760><c> messes</c><00:07:29.120><c> with</c>

00:07:29.190 --> 00:07:29.200 align:start position:0%
of the function call here messes with
 

00:07:29.200 --> 00:07:31.110 align:start position:0%
of the function call here messes with
the<00:07:29.280><c> registers.</c><00:07:30.120><c> So,</c><00:07:30.280><c> now</c><00:07:30.680><c> when</c><00:07:30.800><c> the</c><00:07:30.880><c> mine</c>

00:07:31.110 --> 00:07:31.120 align:start position:0%
the registers. So, now when the mine
 

00:07:31.120 --> 00:07:33.270 align:start position:0%
the registers. So, now when the mine
count<00:07:31.360><c> is</c><00:07:31.520><c> set</c><00:07:31.800><c> from</c><00:07:32.000><c> EAX,</c><00:07:32.560><c> it</c><00:07:32.720><c> happens</c><00:07:33.080><c> when</c>

00:07:33.270 --> 00:07:33.280 align:start position:0%
count is set from EAX, it happens when
 

00:07:33.280 --> 00:07:35.950 align:start position:0%
count is set from EAX, it happens when
EAX<00:07:33.919><c> is</c><00:07:34.200><c> equal</c><00:07:34.560><c> to</c><00:07:34.680><c> the</c><00:07:34.800><c> playfield</c><00:07:35.360><c> width.</c><00:07:35.880><c> All</c>

00:07:35.950 --> 00:07:35.960 align:start position:0%
EAX is equal to the playfield width. All
 

00:07:35.960 --> 00:07:38.510 align:start position:0%
EAX is equal to the playfield width. All
we<00:07:36.080><c> have</c><00:07:36.200><c> to</c><00:07:36.320><c> do</c><00:07:36.440><c> now</c><00:07:36.760><c> is</c><00:07:36.919><c> throw</c><00:07:37.120><c> in</c><00:07:37.240><c> a</c><00:07:37.400><c> mul</c><00:07:37.880><c> ECX</c>

00:07:38.510 --> 00:07:38.520 align:start position:0%
we have to do now is throw in a mul ECX
 

00:07:38.520 --> 00:07:40.630 align:start position:0%
we have to do now is throw in a mul ECX
to<00:07:38.720><c> multiply</c><00:07:39.160><c> by</c><00:07:39.280><c> the</c><00:07:39.400><c> height</c><00:07:39.760><c> and</c><00:07:39.960><c> we</c><00:07:40.120><c> get</c><00:07:40.400><c> the</c>

00:07:40.630 --> 00:07:40.640 align:start position:0%
to multiply by the height and we get the
 

00:07:40.640 --> 00:07:42.550 align:start position:0%
to multiply by the height and we get the
total<00:07:41.000><c> number</c><00:07:41.240><c> of</c><00:07:41.360><c> mines</c><00:07:41.720><c> needed</c><00:07:42.080><c> to</c><00:07:42.200><c> fill</c><00:07:42.440><c> the</c>

00:07:42.550 --> 00:07:42.560 align:start position:0%
total number of mines needed to fill the
 

00:07:42.560 --> 00:07:46.190 align:start position:0%
total number of mines needed to fill the
playfield<00:07:43.440><c> right</c><00:07:43.800><c> into</c><00:07:44.320><c> our</c><00:07:44.520><c> mine</c><00:07:44.920><c> count.</c><00:07:45.960><c> And</c>

00:07:46.190 --> 00:07:46.200 align:start position:0%
playfield right into our mine count. And
 

00:07:46.200 --> 00:07:48.390 align:start position:0%
playfield right into our mine count. And
there<00:07:46.480><c> we</c><00:07:46.680><c> go.</c><00:07:47.400><c> No</c><00:07:47.480><c> matter</c><00:07:47.680><c> what</c><00:07:47.840><c> the</c><00:07:47.960><c> size,</c>

00:07:48.390 --> 00:07:48.400 align:start position:0%
there we go. No matter what the size,
 

00:07:48.400 --> 00:07:51.550 align:start position:0%
there we go. No matter what the size,
the<00:07:48.520><c> playfield</c><00:07:49.000><c> is</c><00:07:49.280><c> always</c><00:07:50.040><c> all</c><00:07:50.600><c> mines.</c><00:07:51.440><c> I'm</c>

00:07:51.550 --> 00:07:51.560 align:start position:0%
the playfield is always all mines. I'm
 

00:07:51.560 --> 00:07:53.430 align:start position:0%
the playfield is always all mines. I'm
actually<00:07:52.000><c> pretty</c><00:07:52.320><c> happy</c><00:07:52.600><c> with</c><00:07:52.760><c> this</c><00:07:52.960><c> hack.</c>

00:07:53.430 --> 00:07:53.440 align:start position:0%
actually pretty happy with this hack.
 

00:07:53.440 --> 00:07:55.750 align:start position:0%
actually pretty happy with this hack.
It's<00:07:53.760><c> simple</c><00:07:54.240><c> yet</c><00:07:54.640><c> effective.</c><00:07:55.520><c> Sure,</c><00:07:55.680><c> it</c>

00:07:55.750 --> 00:07:55.760 align:start position:0%
It's simple yet effective. Sure, it
 

00:07:55.760 --> 00:07:57.510 align:start position:0%
It's simple yet effective. Sure, it
could<00:07:55.840><c> be</c><00:07:55.960><c> cleaner</c><00:07:56.360><c> by</c><00:07:56.600><c> rewriting</c><00:07:57.120><c> the</c><00:07:57.240><c> loop</c>

00:07:57.510 --> 00:07:57.520 align:start position:0%
could be cleaner by rewriting the loop
 

00:07:57.520 --> 00:07:59.830 align:start position:0%
could be cleaner by rewriting the loop
without<00:07:57.840><c> any</c><00:07:58.000><c> random</c><00:07:58.440><c> calls,</c><00:07:58.880><c> but</c>

00:07:59.830 --> 00:07:59.840 align:start position:0%
without any random calls, but
 

00:07:59.840 --> 00:08:01.550 align:start position:0%
without any random calls, but
if<00:07:59.920><c> it</c><00:08:00.040><c> works,</c><00:08:00.240><c> it</c><00:08:00.360><c> works,</c><00:08:00.680><c> right?</c><00:08:01.280><c> Time</c><00:08:01.480><c> to</c>

00:08:01.550 --> 00:08:01.560 align:start position:0%
if it works, it works, right? Time to
 

00:08:01.560 --> 00:08:03.670 align:start position:0%
if it works, it works, right? Time to
create<00:08:01.880><c> a</c><00:08:01.920><c> patched</c><00:08:02.320><c> executable</c><00:08:02.960><c> and</c><00:08:03.240><c> send</c><00:08:03.520><c> it</c>

00:08:03.670 --> 00:08:03.680 align:start position:0%
create a patched executable and send it
 

00:08:03.680 --> 00:08:05.270 align:start position:0%
create a patched executable and send it
to<00:08:03.840><c> some</c><00:08:04.120><c> friends.</c>

00:08:05.270 --> 00:08:05.280 align:start position:0%
to some friends.
 

00:08:05.280 --> 00:08:07.710 align:start position:0%
to some friends.
So,<00:08:05.400><c> Matt</c><00:08:05.720><c> sent</c><00:08:06.000><c> me</c><00:08:06.120><c> a</c><00:08:06.200><c> file</c><00:08:06.760><c> called</c><00:08:07.200><c> April</c>

00:08:07.710 --> 00:08:07.720 align:start position:0%
So, Matt sent me a file called April
 

00:08:07.720 --> 00:08:11.710 align:start position:0%
So, Matt sent me a file called April
Fools.<00:08:08.800><c> Yeah,</c><00:08:09.000><c> this</c><00:08:09.200><c> bodes</c><00:08:09.520><c> well.</c><00:08:10.280><c> Right.</c><00:08:11.320><c> Win</c>

00:08:11.710 --> 00:08:11.720 align:start position:0%
Fools. Yeah, this bodes well. Right. Win
 

00:08:11.720 --> 00:08:15.150 align:start position:0%
Fools. Yeah, this bodes well. Right. Win
mine<00:08:12.240><c> Oh</c><00:08:12.480><c> god.</c><00:08:13.280><c> Better</c><00:08:13.840><c> I</c>

00:08:15.150 --> 00:08:15.160 align:start position:0%
mine Oh god. Better I
 

00:08:15.160 --> 00:08:17.550 align:start position:0%
mine Oh god. Better I
Okay.<00:08:16.120><c> This</c><00:08:16.280><c> wasn't</c><00:08:16.520><c> what</c><00:08:16.640><c> I</c><00:08:16.720><c> was</c><00:08:16.840><c> expec-</c><00:08:17.280><c> Oh</c>

00:08:17.550 --> 00:08:17.560 align:start position:0%
Okay. This wasn't what I was expec- Oh
 

00:08:17.560 --> 00:08:18.950 align:start position:0%
Okay. This wasn't what I was expec- Oh
no.

00:08:18.950 --> 00:08:18.960 align:start position:0%
no.
 

00:08:18.960 --> 00:08:31.070 align:start position:0%
no.
Oh<00:08:19.720><c> no.</c><00:08:20.720><c> I'm</c><00:08:20.919><c> so</c><00:08:21.200><c> bad</c><00:08:21.480><c> at</c><00:08:21.560><c> Minesweeper.</c><00:08:22.160><c> Right.</c>

00:08:31.070 --> 00:08:31.080 align:start position:0%
 
 

00:08:31.080 --> 00:08:32.990 align:start position:0%
 
You<00:08:31.120><c> know</c><00:08:31.280><c> what?</c><00:08:31.520><c> Actually,</c><00:08:31.800><c> this</c><00:08:31.960><c> is</c><00:08:32.080><c> good.</c>

00:08:32.990 --> 00:08:33.000 align:start position:0%
You know what? Actually, this is good.
 

00:08:33.000 --> 00:08:35.029 align:start position:0%
You know what? Actually, this is good.
This<00:08:33.120><c> is</c><00:08:33.240><c> good</c><00:08:33.479><c> because</c><00:08:33.760><c> now</c>

00:08:35.029 --> 00:08:35.039 align:start position:0%
This is good because now
 

00:08:35.039 --> 00:08:36.430 align:start position:0%
This is good because now
I'm<00:08:35.200><c> at</c><00:08:35.280><c> exactly</c><00:08:35.800><c> the</c><00:08:35.880><c> same</c><00:08:36.120><c> level</c><00:08:36.360><c> of</c>

00:08:36.430 --> 00:08:36.440 align:start position:0%
I'm at exactly the same level of
 

00:08:36.440 --> 00:08:38.029 align:start position:0%
I'm at exactly the same level of
everyone<00:08:36.800><c> else</c>

00:08:38.029 --> 00:08:38.039 align:start position:0%
everyone else
 

00:08:38.039 --> 00:08:40.709 align:start position:0%
everyone else
playing<00:08:38.240><c> Minesweeper.</c>

00:08:40.709 --> 00:08:40.719 align:start position:0%
playing Minesweeper.
 

00:08:40.719 --> 00:08:46.670 align:start position:0%
playing Minesweeper.
You<00:08:40.840><c> know</c><00:08:40.960><c> what?</c><00:08:41.120><c> Thanks,</c><00:08:41.360><c> Matt.</c>

00:08:46.670 --> 00:08:46.680 align:start position:0%
 
 

00:08:46.680 --> 00:08:47.430 align:start position:0%
 
Now,<00:08:46.760><c> if</c><00:08:46.839><c> you</c><00:08:46.920><c> want</c><00:08:47.040><c> to</c><00:08:47.080><c> try</c><00:08:47.200><c> this</c><00:08:47.360><c> out</c>

00:08:47.430 --> 00:08:47.440 align:start position:0%
Now, if you want to try this out
 

00:08:47.440 --> 00:08:49.230 align:start position:0%
Now, if you want to try this out
yourself,<00:08:47.880><c> there</c><00:08:48.120><c> is</c><00:08:48.320><c> a</c><00:08:48.400><c> download</c><00:08:48.880><c> link</c><00:08:49.120><c> in</c>

00:08:49.230 --> 00:08:49.240 align:start position:0%
yourself, there is a download link in
 

00:08:49.240 --> 00:08:51.230 align:start position:0%
yourself, there is a download link in
the<00:08:49.320><c> description.</c><00:08:49.920><c> However,</c><00:08:50.839><c> the</c><00:08:50.960><c> version</c>

00:08:51.230 --> 00:08:51.240 align:start position:0%
the description. However, the version
 

00:08:51.240 --> 00:08:52.510 align:start position:0%
the description. However, the version
you're<00:08:51.360><c> getting</c><00:08:51.600><c> is</c><00:08:51.720><c> going</c><00:08:51.839><c> to</c><00:08:51.920><c> be</c><00:08:52.000><c> slightly</c>

00:08:52.510 --> 00:08:52.520 align:start position:0%
you're getting is going to be slightly
 

00:08:52.520 --> 00:08:53.590 align:start position:0%
you're getting is going to be slightly
different<00:08:52.800><c> to</c><00:08:52.880><c> the</c><00:08:52.960><c> one</c><00:08:53.120><c> I</c><00:08:53.200><c> made</c><00:08:53.400><c> in</c><00:08:53.480><c> this</c>

00:08:53.590 --> 00:08:53.600 align:start position:0%
different to the one I made in this
 

00:08:53.600 --> 00:08:55.950 align:start position:0%
different to the one I made in this
video<00:08:53.960><c> because</c><00:08:54.839><c> the</c><00:08:54.920><c> version</c><00:08:55.280><c> I</c><00:08:55.440><c> hacked</c><00:08:55.800><c> was</c>

00:08:55.950 --> 00:08:55.960 align:start position:0%
video because the version I hacked was
 

00:08:55.960 --> 00:08:58.310 align:start position:0%
video because the version I hacked was
the<00:08:56.200><c> XP</c><00:08:56.680><c> version</c><00:08:57.120><c> and</c><00:08:57.320><c> it</c><00:08:57.440><c> turns</c><00:08:57.760><c> out</c><00:08:58.000><c> for</c><00:08:58.120><c> some</c>

00:08:58.310 --> 00:08:58.320 align:start position:0%
the XP version and it turns out for some
 

00:08:58.320 --> 00:09:00.790 align:start position:0%
the XP version and it turns out for some
reason<00:08:58.640><c> it</c><00:08:58.720><c> doesn't</c><00:08:59.000><c> run</c><00:08:59.320><c> on</c><00:08:59.640><c> Windows</c><00:09:00.000><c> 9X,</c>

00:09:00.790 --> 00:09:00.800 align:start position:0%
reason it doesn't run on Windows 9X,
 

00:09:00.800 --> 00:09:02.710 align:start position:0%
reason it doesn't run on Windows 9X,
which<00:09:01.000><c> felt</c><00:09:01.200><c> like</c><00:09:01.600><c> a</c><00:09:01.680><c> bit</c><00:09:01.800><c> of</c><00:09:01.880><c> a</c><00:09:01.960><c> shame.</c>

00:09:02.710 --> 00:09:02.720 align:start position:0%
which felt like a bit of a shame.
 

00:09:02.720 --> 00:09:03.990 align:start position:0%
which felt like a bit of a shame.
Meanwhile,<00:09:03.200><c> the</c><00:09:03.280><c> version</c><00:09:03.560><c> that</c><00:09:03.640><c> ships</c><00:09:03.880><c> with</c>

00:09:03.990 --> 00:09:04.000 align:start position:0%
Meanwhile, the version that ships with
 

00:09:04.000 --> 00:09:07.190 align:start position:0%
Meanwhile, the version that ships with
9X<00:09:04.520><c> is</c><00:09:04.720><c> 16-bit,</c><00:09:05.600><c> so</c><00:09:05.960><c> it</c><00:09:06.160><c> won't</c><00:09:06.360><c> work</c><00:09:06.640><c> on</c><00:09:06.839><c> most</c>

00:09:07.190 --> 00:09:07.200 align:start position:0%
9X is 16-bit, so it won't work on most
 

00:09:07.200 --> 00:09:09.590 align:start position:0%
9X is 16-bit, so it won't work on most
modern<00:09:07.480><c> computers</c><00:09:08.000><c> either.</c><00:09:08.680><c> However,</c><00:09:09.440><c> the</c>

00:09:09.590 --> 00:09:09.600 align:start position:0%
modern computers either. However, the
 

00:09:09.600 --> 00:09:12.430 align:start position:0%
modern computers either. However, the
version<00:09:09.920><c> that</c><00:09:10.080><c> ships</c><00:09:10.360><c> with</c><00:09:10.600><c> NT4</c><00:09:11.880><c> is</c><00:09:12.120><c> both</c>

00:09:12.430 --> 00:09:12.440 align:start position:0%
version that ships with NT4 is both
 

00:09:12.440 --> 00:09:13.950 align:start position:0%
version that ships with NT4 is both
32-bit,<00:09:13.200><c> so</c><00:09:13.320><c> it'll</c><00:09:13.480><c> run</c><00:09:13.640><c> on</c><00:09:13.720><c> modern</c>

00:09:13.950 --> 00:09:13.960 align:start position:0%
32-bit, so it'll run on modern
 

00:09:13.960 --> 00:09:17.430 align:start position:0%
32-bit, so it'll run on modern
computers,<00:09:14.560><c> and</c><00:09:14.920><c> also</c><00:09:15.400><c> will</c><00:09:15.640><c> run</c><00:09:15.920><c> on</c><00:09:16.160><c> 9X.</c><00:09:17.080><c> So,</c>

00:09:17.430 --> 00:09:17.440 align:start position:0%
computers, and also will run on 9X. So,
 

00:09:17.440 --> 00:09:19.230 align:start position:0%
computers, and also will run on 9X. So,
I<00:09:17.560><c> went</c><00:09:17.760><c> ahead</c><00:09:18.120><c> and</c><00:09:18.360><c> did</c><00:09:18.520><c> exactly</c><00:09:18.920><c> the</c><00:09:19.000><c> same</c>

00:09:19.230 --> 00:09:19.240 align:start position:0%
I went ahead and did exactly the same
 

00:09:19.240 --> 00:09:20.829 align:start position:0%
I went ahead and did exactly the same
hack<00:09:19.440><c> to</c><00:09:19.520><c> that</c><00:09:19.720><c> version,</c><00:09:20.200><c> and</c><00:09:20.440><c> that's</c><00:09:20.640><c> the</c><00:09:20.720><c> one</c>

00:09:20.829 --> 00:09:20.839 align:start position:0%
hack to that version, and that's the one
 

00:09:20.839 --> 00:09:22.750 align:start position:0%
hack to that version, and that's the one
you<00:09:20.920><c> can</c><00:09:21.040><c> download.</c><00:09:21.680><c> It</c><00:09:21.800><c> should</c><00:09:22.000><c> work</c><00:09:22.240><c> on</c>

00:09:22.750 --> 00:09:22.760 align:start position:0%
you can download. It should work on
 

00:09:22.760 --> 00:09:24.790 align:start position:0%
you can download. It should work on
every<00:09:23.000><c> version</c><00:09:23.360><c> of</c><00:09:23.440><c> Windows</c><00:09:23.839><c> from</c><00:09:24.200><c> '95</c>

00:09:24.790 --> 00:09:24.800 align:start position:0%
every version of Windows from '95
 

00:09:24.800 --> 00:09:26.829 align:start position:0%
every version of Windows from '95
onwards.<00:09:25.440><c> Now,</c><00:09:25.600><c> even</c><00:09:25.800><c> though</c><00:09:25.960><c> this</c><00:09:26.160><c> hack</c><00:09:26.480><c> was</c>

00:09:26.829 --> 00:09:26.839 align:start position:0%
onwards. Now, even though this hack was
 

00:09:26.839 --> 00:09:29.150 align:start position:0%
onwards. Now, even though this hack was
fairly<00:09:27.440><c> simple,</c><00:09:28.080><c> I</c><00:09:28.320><c> learned</c><00:09:28.760><c> later</c><00:09:29.080><c> it</c>

00:09:29.150 --> 00:09:29.160 align:start position:0%
fairly simple, I learned later it
 

00:09:29.160 --> 00:09:31.030 align:start position:0%
fairly simple, I learned later it
actually<00:09:29.480><c> could</c><00:09:29.640><c> have</c><00:09:29.720><c> been</c><00:09:29.880><c> a</c><00:09:29.920><c> lot</c><00:09:30.280><c> easier.</c>

00:09:31.030 --> 00:09:31.040 align:start position:0%
actually could have been a lot easier.
 

00:09:31.040 --> 00:09:32.470 align:start position:0%
actually could have been a lot easier.
Firstly,<00:09:31.480><c> you</c><00:09:31.520><c> can</c><00:09:31.640><c> actually</c><00:09:31.920><c> find</c>

00:09:32.470 --> 00:09:32.480 align:start position:0%
Firstly, you can actually find
 

00:09:32.480 --> 00:09:34.790 align:start position:0%
Firstly, you can actually find
Minesweeper<00:09:33.160><c> debug</c><00:09:33.600><c> symbols.</c><00:09:34.320><c> These</c><00:09:34.600><c> are</c>

00:09:34.790 --> 00:09:34.800 align:start position:0%
Minesweeper debug symbols. These are
 

00:09:34.800 --> 00:09:37.350 align:start position:0%
Minesweeper debug symbols. These are
like<00:09:35.160><c> export</c><00:09:35.520><c> symbols,</c><00:09:35.880><c> but</c><00:09:36.200><c> way</c><00:09:36.440><c> more</c><00:09:36.760><c> OP.</c>

00:09:37.350 --> 00:09:37.360 align:start position:0%
like export symbols, but way more OP.
 

00:09:37.360 --> 00:09:39.030 align:start position:0%
like export symbols, but way more OP.
They<00:09:37.480><c> provide</c><00:09:37.840><c> human</c><00:09:38.160><c> readable</c><00:09:38.480><c> names</c><00:09:38.840><c> for</c>

00:09:39.030 --> 00:09:39.040 align:start position:0%
They provide human readable names for
 

00:09:39.040 --> 00:09:40.950 align:start position:0%
They provide human readable names for
pretty<00:09:39.200><c> much</c><00:09:39.440><c> every</c><00:09:39.800><c> function</c><00:09:40.280><c> and</c><00:09:40.520><c> variable</c>

00:09:40.950 --> 00:09:40.960 align:start position:0%
pretty much every function and variable
 

00:09:40.960 --> 00:09:42.670 align:start position:0%
pretty much every function and variable
in<00:09:41.040><c> the</c><00:09:41.120><c> program.</c><00:09:41.840><c> You</c><00:09:41.920><c> can</c><00:09:42.040><c> see</c><00:09:42.200><c> how</c><00:09:42.320><c> having</c>

00:09:42.670 --> 00:09:42.680 align:start position:0%
in the program. You can see how having
 

00:09:42.680 --> 00:09:44.790 align:start position:0%
in the program. You can see how having
actual<00:09:43.200><c> words</c><00:09:43.680><c> instead</c><00:09:43.920><c> of</c><00:09:44.080><c> random</c><00:09:44.480><c> memory</c>

00:09:44.790 --> 00:09:44.800 align:start position:0%
actual words instead of random memory
 

00:09:44.800 --> 00:09:46.150 align:start position:0%
actual words instead of random memory
addresses<00:09:45.240><c> would</c><00:09:45.360><c> have</c><00:09:45.480><c> gotten</c><00:09:45.720><c> rid</c><00:09:45.880><c> of</c><00:09:45.960><c> a</c><00:09:46.000><c> lot</c>

00:09:46.150 --> 00:09:46.160 align:start position:0%
addresses would have gotten rid of a lot
 

00:09:46.160 --> 00:09:47.630 align:start position:0%
addresses would have gotten rid of a lot
of<00:09:46.240><c> the</c><00:09:46.280><c> guesswork.</c><00:09:47.120><c> Secondly,</c><00:09:47.480><c> there's</c>

00:09:47.630 --> 00:09:47.640 align:start position:0%
of the guesswork. Secondly, there's
 

00:09:47.640 --> 00:09:49.310 align:start position:0%
of the guesswork. Secondly, there's
actually<00:09:47.920><c> a</c><00:09:48.040><c> GitHub</c><00:09:48.440><c> project</c><00:09:48.960><c> called</c>

00:09:49.310 --> 00:09:49.320 align:start position:0%
actually a GitHub project called
 

00:09:49.320 --> 00:09:50.870 align:start position:0%
actually a GitHub project called
Reversing<00:09:49.920><c> Minesweeper,</c><00:09:50.560><c> which</c><00:09:50.760><c> is</c>

00:09:50.870 --> 00:09:50.880 align:start position:0%
Reversing Minesweeper, which is
 

00:09:50.880 --> 00:09:52.910 align:start position:0%
Reversing Minesweeper, which is
apparently<00:09:51.480><c> a</c><00:09:51.640><c> largely</c><00:09:52.200><c> complete</c>

00:09:52.910 --> 00:09:52.920 align:start position:0%
apparently a largely complete
 

00:09:52.920 --> 00:09:54.870 align:start position:0%
apparently a largely complete
decompilation<00:09:53.760><c> of</c><00:09:53.880><c> Minesweeper</c><00:09:54.480><c> back</c><00:09:54.680><c> into</c>

00:09:54.870 --> 00:09:54.880 align:start position:0%
decompilation of Minesweeper back into
 

00:09:54.880 --> 00:09:58.070 align:start position:0%
decompilation of Minesweeper back into
C++.<00:09:55.960><c> So,</c><00:09:56.280><c> one</c><00:09:56.600><c> could</c><00:09:56.800><c> have</c><00:09:56.920><c> just</c><00:09:57.360><c> edited</c><00:09:57.800><c> and</c>

00:09:58.070 --> 00:09:58.080 align:start position:0%
C++. So, one could have just edited and
 

00:09:58.080 --> 00:10:00.230 align:start position:0%
C++. So, one could have just edited and
recompiled<00:09:58.840><c> this</c><00:09:59.200><c> instead</c><00:09:59.600><c> of</c><00:09:59.760><c> hacking</c><00:10:00.080><c> up</c>

00:10:00.230 --> 00:10:00.240 align:start position:0%
recompiled this instead of hacking up
 

00:10:00.240 --> 00:10:02.390 align:start position:0%
recompiled this instead of hacking up
the<00:10:00.320><c> assembly</c><00:10:00.840><c> code.</c><00:10:01.520><c> And</c><00:10:01.760><c> finally,</c><00:10:02.160><c> if</c><00:10:02.320><c> you</c>

00:10:02.390 --> 00:10:02.400 align:start position:0%
the assembly code. And finally, if you
 

00:10:02.400 --> 00:10:04.390 align:start position:0%
the assembly code. And finally, if you
want<00:10:02.520><c> to</c><00:10:02.600><c> be</c><00:10:02.720><c> really</c><00:10:03.280><c> naughty,</c><00:10:03.800><c> an</c><00:10:04.040><c> old</c>

00:10:04.390 --> 00:10:04.400 align:start position:0%
want to be really naughty, an old
 

00:10:04.400 --> 00:10:06.950 align:start position:0%
want to be really naughty, an old
Microsoft<00:10:05.120><c> leak</c><00:10:05.360><c> from</c><00:10:05.560><c> 2004</c><00:10:06.600><c> actually</c>

00:10:06.950 --> 00:10:06.960 align:start position:0%
Microsoft leak from 2004 actually
 

00:10:06.960 --> 00:10:09.230 align:start position:0%
Microsoft leak from 2004 actually
contains<00:10:07.720><c> the</c><00:10:07.840><c> complete</c><00:10:08.480><c> source</c><00:10:08.840><c> code</c><00:10:09.120><c> for</c>

00:10:09.230 --> 00:10:09.240 align:start position:0%
contains the complete source code for
 

00:10:09.240 --> 00:10:11.150 align:start position:0%
contains the complete source code for
Minesweeper.<00:10:10.280><c> Not</c><00:10:10.480><c> only</c><00:10:10.720><c> could</c><00:10:10.920><c> you</c><00:10:10.960><c> have</c>

00:10:11.150 --> 00:10:11.160 align:start position:0%
Minesweeper. Not only could you have
 

00:10:11.160 --> 00:10:13.190 align:start position:0%
Minesweeper. Not only could you have
recompiled<00:10:11.800><c> this,</c><00:10:12.200><c> you</c><00:10:12.320><c> can</c><00:10:12.560><c> actually</c><00:10:12.880><c> see</c>

00:10:13.190 --> 00:10:13.200 align:start position:0%
recompiled this, you can actually see
 

00:10:13.200 --> 00:10:15.030 align:start position:0%
recompiled this, you can actually see
exactly<00:10:13.720><c> what</c><00:10:13.920><c> code</c><00:10:14.320><c> produced</c><00:10:14.840><c> this</c>

00:10:15.030 --> 00:10:15.040 align:start position:0%
exactly what code produced this
 

00:10:15.040 --> 00:10:17.510 align:start position:0%
exactly what code produced this
assembly.<00:10:15.840><c> It's</c><00:10:16.120><c> pretty</c><00:10:16.400><c> cool.</c>

00:10:17.510 --> 00:10:17.520 align:start position:0%
assembly. It's pretty cool.
 

00:10:17.520 --> 00:10:19.870 align:start position:0%
assembly. It's pretty cool.
Uh<00:10:17.840><c> by</c><00:10:18.000><c> which</c><00:10:18.200><c> I</c><00:10:18.240><c> mean</c><00:10:18.520><c> wrong</c><00:10:18.960><c> and</c><00:10:19.240><c> illegal.</c>

00:10:19.870 --> 00:10:19.880 align:start position:0%
Uh by which I mean wrong and illegal.
 

00:10:19.880 --> 00:10:20.790 align:start position:0%
Uh by which I mean wrong and illegal.
Please<00:10:20.080><c> don't</c><00:10:20.240><c> remove</c><00:10:20.440><c> this</c><00:10:20.560><c> video,</c>

00:10:20.790 --> 00:10:20.800 align:start position:0%
Please don't remove this video,
 

00:10:20.800 --> 00:10:22.550 align:start position:0%
Please don't remove this video,
Microsoft.<00:10:21.480><c> Well,</c><00:10:21.760><c> happy</c><00:10:22.040><c> April</c><00:10:22.280><c> Fools,</c>

00:10:22.550 --> 00:10:22.560 align:start position:0%
Microsoft. Well, happy April Fools,
 

00:10:22.560 --> 00:10:24.030 align:start position:0%
Microsoft. Well, happy April Fools,
everyone.<00:10:23.120><c> Thank</c><00:10:23.280><c> you</c><00:10:23.360><c> so</c><00:10:23.440><c> much</c><00:10:23.680><c> for</c><00:10:23.800><c> watching</c>

00:10:24.030 --> 00:10:24.040 align:start position:0%
everyone. Thank you so much for watching
 

00:10:24.040 --> 00:10:25.270 align:start position:0%
everyone. Thank you so much for watching
this<00:10:24.160><c> video.</c><00:10:24.640><c> I'll</c><00:10:24.760><c> see</c><00:10:24.880><c> you</c><00:10:24.960><c> in</c><00:10:25.000><c> the</c><00:10:25.080><c> next</c>

00:10:25.270 --> 00:10:25.280 align:start position:0%
this video. I'll see you in the next
 

00:10:25.280 --> 00:10:28.320 align:start position:0%
this video. I'll see you in the next
one.<00:10:25.760><c> Bye,</c><00:10:25.920><c> guys.</c>

