WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:01.750 align:start position:0%
 
Have<00:00:00.200><c> you</c><00:00:00.280><c> ever</c><00:00:00.480><c> wondered</c><00:00:00.880><c> how</c><00:00:01.040><c> hard</c><00:00:01.360><c> it</c><00:00:01.480><c> is</c><00:00:01.640><c> to</c>

00:00:01.750 --> 00:00:01.760 align:start position:0%
Have you ever wondered how hard it is to
 

00:00:01.760 --> 00:00:03.590 align:start position:0%
Have you ever wondered how hard it is to
actually<00:00:02.160><c> learn</c><00:00:02.520><c> coding?</c><00:00:03.080><c> Or</c><00:00:03.160><c> maybe</c><00:00:03.440><c> you've</c>

00:00:03.590 --> 00:00:03.600 align:start position:0%
actually learn coding? Or maybe you've
 

00:00:03.600 --> 00:00:04.910 align:start position:0%
actually learn coding? Or maybe you've
seen<00:00:03.760><c> a</c><00:00:03.800><c> horrible</c><00:00:04.160><c> batch</c><00:00:04.400><c> of</c><00:00:04.480><c> code</c><00:00:04.760><c> and</c><00:00:04.880><c> you</c>

00:00:04.910 --> 00:00:04.920 align:start position:0%
seen a horrible batch of code and you
 

00:00:04.920 --> 00:00:06.790 align:start position:0%
seen a horrible batch of code and you
thought,<00:00:05.240><c> "Who</c><00:00:05.400><c> the</c><00:00:05.560><c> hell</c><00:00:06.000><c> wrote</c><00:00:06.240><c> this?"</c><00:00:06.720><c> I</c>

00:00:06.790 --> 00:00:06.800 align:start position:0%
thought, "Who the hell wrote this?" I
 

00:00:06.800 --> 00:00:08.590 align:start position:0%
thought, "Who the hell wrote this?" I
wanted<00:00:07.040><c> to</c><00:00:07.080><c> answer</c><00:00:07.480><c> both</c><00:00:07.800><c> of</c><00:00:07.880><c> those</c><00:00:08.080><c> questions</c>

00:00:08.590 --> 00:00:08.600 align:start position:0%
wanted to answer both of those questions
 

00:00:08.600 --> 00:00:10.030 align:start position:0%
wanted to answer both of those questions
by<00:00:08.720><c> attempting</c><00:00:09.080><c> to</c><00:00:09.160><c> build</c><00:00:09.360><c> a</c><00:00:09.440><c> working</c><00:00:09.760><c> chess</c>

00:00:10.030 --> 00:00:10.040 align:start position:0%
by attempting to build a working chess
 

00:00:10.040 --> 00:00:12.150 align:start position:0%
by attempting to build a working chess
game<00:00:10.360><c> with</c><00:00:10.600><c> zero</c><00:00:11.040><c> coding</c><00:00:11.360><c> experience.</c><00:00:12.080><c> I'm</c>

00:00:12.150 --> 00:00:12.160 align:start position:0%
game with zero coding experience. I'm
 

00:00:12.160 --> 00:00:13.710 align:start position:0%
game with zero coding experience. I'm
not<00:00:12.320><c> a</c><00:00:12.360><c> computer</c><00:00:12.680><c> science</c><00:00:13.000><c> major.</c><00:00:13.400><c> I'm</c><00:00:13.520><c> not</c>

00:00:13.710 --> 00:00:13.720 align:start position:0%
not a computer science major. I'm not
 

00:00:13.720 --> 00:00:15.270 align:start position:0%
not a computer science major. I'm not
even<00:00:13.920><c> in</c><00:00:14.080><c> STEM.</c><00:00:14.560><c> I</c><00:00:14.600><c> just</c><00:00:14.800><c> wanted</c><00:00:15.000><c> to</c><00:00:15.080><c> know</c><00:00:15.200><c> if</c>

00:00:15.270 --> 00:00:15.280 align:start position:0%
even in STEM. I just wanted to know if
 

00:00:15.280 --> 00:00:16.910 align:start position:0%
even in STEM. I just wanted to know if
an<00:00:15.400><c> average</c><00:00:15.760><c> person</c><00:00:16.120><c> could</c><00:00:16.280><c> successfully</c>

00:00:16.910 --> 00:00:16.920 align:start position:0%
an average person could successfully
 

00:00:16.920 --> 00:00:19.750 align:start position:0%
an average person could successfully
build<00:00:17.240><c> something</c><00:00:17.680><c> as</c><00:00:18.240><c> simple</c><00:00:18.920><c> as</c><00:00:19.240><c> chess.</c>

00:00:19.750 --> 00:00:19.760 align:start position:0%
build something as simple as chess.
 

00:00:19.760 --> 00:00:21.430 align:start position:0%
build something as simple as chess.
Here's<00:00:19.920><c> how</c><00:00:20.080><c> it</c><00:00:20.160><c> went.</c>

00:00:21.430 --> 00:00:21.440 align:start position:0%
Here's how it went.
 

00:00:21.440 --> 00:00:23.150 align:start position:0%
Here's how it went.
To<00:00:21.600><c> even</c><00:00:21.800><c> have</c><00:00:21.920><c> a</c><00:00:22.000><c> chance</c><00:00:22.600><c> of</c><00:00:22.720><c> pulling</c><00:00:23.000><c> this</c>

00:00:23.150 --> 00:00:23.160 align:start position:0%
To even have a chance of pulling this
 

00:00:23.160 --> 00:00:24.990 align:start position:0%
To even have a chance of pulling this
off,<00:00:23.480><c> I</c><00:00:23.560><c> had</c><00:00:23.680><c> to</c><00:00:23.760><c> solve</c><00:00:24.000><c> a</c><00:00:24.040><c> series</c><00:00:24.440><c> of</c><00:00:24.560><c> problems</c>

00:00:24.990 --> 00:00:25.000 align:start position:0%
off, I had to solve a series of problems
 

00:00:25.000 --> 00:00:27.110 align:start position:0%
off, I had to solve a series of problems
that<00:00:25.120><c> got</c><00:00:25.360><c> harder</c><00:00:25.760><c> and</c><00:00:25.920><c> harder</c><00:00:26.400><c> as</c><00:00:26.600><c> I</c><00:00:26.680><c> went.</c>

00:00:27.110 --> 00:00:27.120 align:start position:0%
that got harder and harder as I went.
 

00:00:27.120 --> 00:00:28.950 align:start position:0%
that got harder and harder as I went.
Some<00:00:27.280><c> of</c><00:00:27.360><c> them</c><00:00:27.720><c> way</c><00:00:28.000><c> harder</c><00:00:28.320><c> than</c><00:00:28.480><c> I</c><00:00:28.560><c> initially</c>

00:00:28.950 --> 00:00:28.960 align:start position:0%
Some of them way harder than I initially
 

00:00:28.960 --> 00:00:30.430 align:start position:0%
Some of them way harder than I initially
expected.<00:00:29.600><c> I'm</c><00:00:29.720><c> looking</c><00:00:29.880><c> at</c><00:00:30.000><c> you,</c><00:00:30.200><c> king</c>

00:00:30.430 --> 00:00:30.440 align:start position:0%
expected. I'm looking at you, king
 

00:00:30.440 --> 00:00:32.030 align:start position:0%
expected. I'm looking at you, king
checks.<00:00:31.000><c> I</c><00:00:31.160><c> was</c><00:00:31.360><c> walking</c><00:00:31.680><c> into</c><00:00:31.880><c> this</c>

00:00:32.030 --> 00:00:32.040 align:start position:0%
checks. I was walking into this
 

00:00:32.040 --> 00:00:34.590 align:start position:0%
checks. I was walking into this
challenge<00:00:32.400><c> with</c><00:00:32.599><c> nearly</c><00:00:33.320><c> zero</c><00:00:33.800><c> preparation.</c>

00:00:34.590 --> 00:00:34.600 align:start position:0%
challenge with nearly zero preparation.
 

00:00:34.600 --> 00:00:36.070 align:start position:0%
challenge with nearly zero preparation.
All<00:00:34.760><c> I</c><00:00:34.800><c> had</c><00:00:34.960><c> to</c><00:00:35.080><c> show</c><00:00:35.320><c> for</c><00:00:35.440><c> myself</c><00:00:35.840><c> was</c><00:00:36.000><c> a</c>

00:00:36.070 --> 00:00:36.080 align:start position:0%
All I had to show for myself was a
 

00:00:36.080 --> 00:00:38.270 align:start position:0%
All I had to show for myself was a
completion<00:00:36.800><c> certificate</c><00:00:37.480><c> from</c><00:00:37.640><c> a</c><00:00:37.720><c> 1-hour</c>

00:00:38.270 --> 00:00:38.280 align:start position:0%
completion certificate from a 1-hour
 

00:00:38.280 --> 00:00:40.390 align:start position:0%
completion certificate from a 1-hour
Python<00:00:38.680><c> quick</c><00:00:38.920><c> start</c><00:00:39.200><c> guide</c><00:00:39.640><c> on</c><00:00:39.840><c> LinkedIn</c>

00:00:40.390 --> 00:00:40.400 align:start position:0%
Python quick start guide on LinkedIn
 

00:00:40.400 --> 00:00:42.630 align:start position:0%
Python quick start guide on LinkedIn
learning.<00:00:40.960><c> I</c><00:00:41.080><c> also</c><00:00:41.360><c> set</c><00:00:41.680><c> one</c><00:00:41.920><c> rule</c><00:00:42.160><c> for</c><00:00:42.280><c> myself</c>

00:00:42.630 --> 00:00:42.640 align:start position:0%
learning. I also set one rule for myself
 

00:00:42.640 --> 00:00:44.670 align:start position:0%
learning. I also set one rule for myself
during<00:00:42.840><c> this</c><00:00:42.960><c> challenge,</c><00:00:43.440><c> no</c><00:00:43.720><c> AI.</c><00:00:44.280><c> So,</c><00:00:44.440><c> when</c><00:00:44.600><c> I</c>

00:00:44.670 --> 00:00:44.680 align:start position:0%
during this challenge, no AI. So, when I
 

00:00:44.680 --> 00:00:45.950 align:start position:0%
during this challenge, no AI. So, when I
started<00:00:45.040><c> working</c><00:00:45.320><c> on</c><00:00:45.480><c> rendering</c><00:00:45.880><c> a</c>

00:00:45.950 --> 00:00:45.960 align:start position:0%
started working on rendering a
 

00:00:45.960 --> 00:00:47.910 align:start position:0%
started working on rendering a
chessboard,<00:00:46.760><c> the</c><00:00:46.840><c> reality</c><00:00:47.280><c> of</c><00:00:47.360><c> how</c><00:00:47.520><c> difficult</c>

00:00:47.910 --> 00:00:47.920 align:start position:0%
chessboard, the reality of how difficult
 

00:00:47.920 --> 00:00:49.910 align:start position:0%
chessboard, the reality of how difficult
this<00:00:48.080><c> was</c><00:00:48.280><c> really</c><00:00:48.560><c> going</c><00:00:48.760><c> to</c><00:00:48.840><c> be</c><00:00:49.200><c> quickly</c><00:00:49.640><c> set</c>

00:00:49.910 --> 00:00:49.920 align:start position:0%
this was really going to be quickly set
 

00:00:49.920 --> 00:00:51.670 align:start position:0%
this was really going to be quickly set
in.<00:00:50.240><c> A</c><00:00:50.320><c> quick</c><00:00:50.560><c> Google</c><00:00:50.800><c> search</c><00:00:51.160><c> led</c><00:00:51.360><c> me</c><00:00:51.480><c> to</c><00:00:51.640><c> a</c>

00:00:51.670 --> 00:00:51.680 align:start position:0%
in. A quick Google search led me to a
 

00:00:51.680 --> 00:00:53.830 align:start position:0%
in. A quick Google search led me to a
Python<00:00:52.120><c> package</c><00:00:52.520><c> called</c><00:00:52.920><c> turtle,</c><00:00:53.400><c> which</c><00:00:53.600><c> is</c><00:00:53.760><c> a</c>

00:00:53.830 --> 00:00:53.840 align:start position:0%
Python package called turtle, which is a
 

00:00:53.840 --> 00:00:55.550 align:start position:0%
Python package called turtle, which is a
library<00:00:54.240><c> that</c><00:00:54.360><c> allows</c><00:00:54.680><c> you</c><00:00:54.720><c> to</c><00:00:54.840><c> create</c><00:00:55.200><c> shapes</c>

00:00:55.550 --> 00:00:55.560 align:start position:0%
library that allows you to create shapes
 

00:00:55.560 --> 00:00:57.070 align:start position:0%
library that allows you to create shapes
on<00:00:55.640><c> a</c><00:00:55.680><c> canvas</c><00:00:56.240><c> and</c><00:00:56.400><c> move</c><00:00:56.520><c> them</c><00:00:56.680><c> around</c><00:00:56.960><c> with</c>

00:00:57.070 --> 00:00:57.080 align:start position:0%
on a canvas and move them around with
 

00:00:57.080 --> 00:00:59.150 align:start position:0%
on a canvas and move them around with
your<00:00:57.160><c> code.</c><00:00:57.600><c> Apparently,</c><00:00:58.520><c> this</c><00:00:58.720><c> is</c><00:00:58.800><c> mostly</c>

00:00:59.150 --> 00:00:59.160 align:start position:0%
your code. Apparently, this is mostly
 

00:00:59.160 --> 00:01:00.905 align:start position:0%
your code. Apparently, this is mostly
used<00:00:59.560><c> to</c><00:00:59.920><c> teach</c><00:01:00.240><c> kids</c><00:01:00.480><c> about</c><00:01:00.680><c> the</c><00:01:00.760><c> basics</c>

00:01:00.905 --> 00:01:00.915 align:start position:0%
used to teach kids about the basics
 

00:01:00.915 --> 00:01:02.830 align:start position:0%
used to teach kids about the basics
[music]<00:01:01.160><c> of</c><00:01:01.240><c> programming.</c><00:01:01.960><c> So,</c><00:01:02.400><c> I</c><00:01:02.560><c> thought</c><00:01:02.760><c> it</c>

00:01:02.830 --> 00:01:02.840 align:start position:0%
[music] of programming. So, I thought it
 

00:01:02.840 --> 00:01:04.150 align:start position:0%
[music] of programming. So, I thought it
was<00:01:02.960><c> well</c><00:01:03.160><c> suited</c><00:01:03.480><c> for</c><00:01:03.560><c> my</c><00:01:03.640><c> intelligence</c>

00:01:04.150 --> 00:01:04.160 align:start position:0%
was well suited for my intelligence
 

00:01:04.160 --> 00:01:05.830 align:start position:0%
was well suited for my intelligence
level.<00:01:04.559><c> Using</c><00:01:04.800><c> the</c><00:01:04.920><c> turtle</c><00:01:05.160><c> package,</c><00:01:05.519><c> I</c><00:01:05.600><c> tried</c>

00:01:05.830 --> 00:01:05.840 align:start position:0%
level. Using the turtle package, I tried
 

00:01:05.840 --> 00:01:06.950 align:start position:0%
level. Using the turtle package, I tried
out<00:01:05.960><c> a</c><00:01:06.000><c> few</c><00:01:06.200><c> different</c><00:01:06.480><c> methods</c><00:01:06.840><c> for</c>

00:01:06.950 --> 00:01:06.960 align:start position:0%
out a few different methods for
 

00:01:06.960 --> 00:01:09.030 align:start position:0%
out a few different methods for
rendering<00:01:07.280><c> my</c><00:01:07.400><c> chessboard</c><00:01:08.120><c> with</c><00:01:08.480><c> varying</c>

00:01:09.030 --> 00:01:09.040 align:start position:0%
rendering my chessboard with varying
 

00:01:09.040 --> 00:01:10.630 align:start position:0%
rendering my chessboard with varying
levels<00:01:09.320><c> of</c><00:01:09.440><c> success.</c><00:01:10.080><c> I</c><00:01:10.160><c> thought</c><00:01:10.360><c> I</c><00:01:10.440><c> had</c><00:01:10.560><c> it</c>

00:01:10.630 --> 00:01:10.640 align:start position:0%
levels of success. I thought I had it
 

00:01:10.640 --> 00:01:12.190 align:start position:0%
levels of success. I thought I had it
solved<00:01:10.920><c> at</c><00:01:11.000><c> one</c><00:01:11.200><c> point</c><00:01:11.520><c> when</c><00:01:11.640><c> I</c><00:01:11.720><c> came</c><00:01:11.960><c> up</c><00:01:12.080><c> with</c>

00:01:12.190 --> 00:01:12.200 align:start position:0%
solved at one point when I came up with
 

00:01:12.200 --> 00:01:14.550 align:start position:0%
solved at one point when I came up with
a<00:01:12.240><c> way</c><00:01:12.480><c> to</c><00:01:12.800><c> make</c><00:01:13.000><c> a</c><00:01:13.080><c> square</c><00:01:13.720><c> trace</c><00:01:14.120><c> the</c><00:01:14.200><c> path</c><00:01:14.480><c> of</c>

00:01:14.550 --> 00:01:14.560 align:start position:0%
a way to make a square trace the path of
 

00:01:14.560 --> 00:01:16.030 align:start position:0%
a way to make a square trace the path of
the<00:01:14.640><c> chessboard</c><00:01:15.280><c> and</c><00:01:15.400><c> leave</c><00:01:15.560><c> a</c><00:01:15.600><c> stamp</c><00:01:15.920><c> of</c>

00:01:16.030 --> 00:01:16.040 align:start position:0%
the chessboard and leave a stamp of
 

00:01:16.040 --> 00:01:17.710 align:start position:0%
the chessboard and leave a stamp of
itself<00:01:16.520><c> for</c><00:01:16.720><c> each</c><00:01:16.920><c> square,</c><00:01:17.360><c> all</c><00:01:17.520><c> while</c>

00:01:17.710 --> 00:01:17.720 align:start position:0%
itself for each square, all while
 

00:01:17.720 --> 00:01:19.230 align:start position:0%
itself for each square, all while
alternating<00:01:18.200><c> colors.</c><00:01:18.640><c> But,</c><00:01:18.800><c> I</c><00:01:18.880><c> ended</c><00:01:19.120><c> up</c>

00:01:19.230 --> 00:01:19.240 align:start position:0%
alternating colors. But, I ended up
 

00:01:19.240 --> 00:01:21.190 align:start position:0%
alternating colors. But, I ended up
having<00:01:19.440><c> to</c><00:01:19.520><c> scrap</c><00:01:20.040><c> that</c><00:01:20.280><c> solution.</c><00:01:20.880><c> Instead</c>

00:01:21.190 --> 00:01:21.200 align:start position:0%
having to scrap that solution. Instead
 

00:01:21.200 --> 00:01:23.070 align:start position:0%
having to scrap that solution. Instead
of<00:01:21.280><c> stamping</c><00:01:21.760><c> a</c><00:01:21.840><c> shape,</c><00:01:22.240><c> I</c><00:01:22.320><c> needed</c><00:01:22.600><c> to</c><00:01:22.720><c> make</c><00:01:23.000><c> a</c>

00:01:23.070 --> 00:01:23.080 align:start position:0%
of stamping a shape, I needed to make a
 

00:01:23.080 --> 00:01:24.910 align:start position:0%
of stamping a shape, I needed to make a
separate<00:01:23.600><c> shape</c><00:01:24.040><c> for</c><00:01:24.200><c> each</c><00:01:24.440><c> square</c><00:01:24.760><c> on</c><00:01:24.840><c> the</c>

00:01:24.910 --> 00:01:24.920 align:start position:0%
separate shape for each square on the
 

00:01:24.920 --> 00:01:26.830 align:start position:0%
separate shape for each square on the
board<00:01:25.400><c> and</c><00:01:25.600><c> send</c><00:01:25.920><c> them</c><00:01:26.160><c> to</c><00:01:26.280><c> a</c><00:01:26.360><c> specific</c>

00:01:26.830 --> 00:01:26.840 align:start position:0%
board and send them to a specific
 

00:01:26.840 --> 00:01:28.390 align:start position:0%
board and send them to a specific
coordinate.<00:01:27.440><c> This</c><00:01:27.680><c> worked</c><00:01:27.960><c> much</c><00:01:28.160><c> better</c>

00:01:28.390 --> 00:01:28.400 align:start position:0%
coordinate. This worked much better
 

00:01:28.400 --> 00:01:30.350 align:start position:0%
coordinate. This worked much better
because<00:01:28.640><c> having</c><00:01:28.960><c> actual</c><00:01:29.400><c> shapes</c><00:01:29.960><c> allowed</c><00:01:30.240><c> me</c>

00:01:30.350 --> 00:01:30.360 align:start position:0%
because having actual shapes allowed me
 

00:01:30.360 --> 00:01:32.110 align:start position:0%
because having actual shapes allowed me
to<00:01:30.480><c> detect</c><00:01:30.960><c> when</c><00:01:31.120><c> a</c><00:01:31.160><c> square</c><00:01:31.600><c> was</c><00:01:31.760><c> clicked</c><00:01:32.040><c> by</c>

00:01:32.110 --> 00:01:32.120 align:start position:0%
to detect when a square was clicked by
 

00:01:32.120 --> 00:01:34.390 align:start position:0%
to detect when a square was clicked by
the<00:01:32.280><c> user.</c><00:01:32.840><c> To</c><00:01:32.960><c> pull</c><00:01:33.120><c> this</c><00:01:33.320><c> off,</c><00:01:33.720><c> I</c><00:01:33.960><c> created</c><00:01:34.360><c> a</c>

00:01:34.390 --> 00:01:34.400 align:start position:0%
the user. To pull this off, I created a
 

00:01:34.400 --> 00:01:36.390 align:start position:0%
the user. To pull this off, I created a
dictionary<00:01:34.840><c> that</c><00:01:35.000><c> contained</c><00:01:35.400><c> hard-coded</c>

00:01:36.390 --> 00:01:36.400 align:start position:0%
dictionary that contained hard-coded
 

00:01:36.400 --> 00:01:38.350 align:start position:0%
dictionary that contained hard-coded
coordinates<00:01:37.120><c> for</c><00:01:37.320><c> each</c><00:01:37.520><c> square</c><00:01:37.800><c> to</c><00:01:37.880><c> navigate</c>

00:01:38.350 --> 00:01:38.360 align:start position:0%
coordinates for each square to navigate
 

00:01:38.360 --> 00:01:40.510 align:start position:0%
coordinates for each square to navigate
to.<00:01:38.720><c> If</c><00:01:38.920><c> you've</c><00:01:39.160><c> coded</c><00:01:39.440><c> before,</c><00:01:39.840><c> you</c><00:01:40.000><c> probably</c>

00:01:40.510 --> 00:01:40.520 align:start position:0%
to. If you've coded before, you probably
 

00:01:40.520 --> 00:01:42.070 align:start position:0%
to. If you've coded before, you probably
are<00:01:40.680><c> already</c><00:01:41.000><c> typing</c><00:01:41.400><c> down</c><00:01:41.600><c> in</c><00:01:41.680><c> the</c><00:01:41.720><c> comments</c>

00:01:42.070 --> 00:01:42.080 align:start position:0%
are already typing down in the comments
 

00:01:42.080 --> 00:01:44.070 align:start position:0%
are already typing down in the comments
about<00:01:42.320><c> how</c><00:01:42.480><c> dumb</c><00:01:42.680><c> this</c><00:01:42.800><c> solution</c><00:01:43.240><c> is.</c><00:01:43.680><c> Yeah,</c><00:01:44.000><c> I</c>

00:01:44.070 --> 00:01:44.080 align:start position:0%
about how dumb this solution is. Yeah, I
 

00:01:44.080 --> 00:01:45.470 align:start position:0%
about how dumb this solution is. Yeah, I
know.<00:01:44.360><c> But,</c><00:01:44.480><c> don't</c><00:01:44.640><c> worry,</c><00:01:45.040><c> there's</c><00:01:45.240><c> even</c>

00:01:45.470 --> 00:01:45.480 align:start position:0%
know. But, don't worry, there's even
 

00:01:45.480 --> 00:01:47.550 align:start position:0%
know. But, don't worry, there's even
more<00:01:45.640><c> dumb</c><00:01:45.880><c> ideas</c><00:01:46.200><c> coming</c><00:01:46.480><c> soon,</c><00:01:46.800><c> so</c><00:01:47.240><c> just</c>

00:01:47.550 --> 00:01:47.560 align:start position:0%
more dumb ideas coming soon, so just
 

00:01:47.560 --> 00:01:48.950 align:start position:0%
more dumb ideas coming soon, so just
wait<00:01:47.800><c> and</c><00:01:47.920><c> see.</c><00:01:48.280><c> With</c><00:01:48.440><c> my</c><00:01:48.520><c> hard-coded</c>

00:01:48.950 --> 00:01:48.960 align:start position:0%
wait and see. With my hard-coded
 

00:01:48.960 --> 00:01:50.750 align:start position:0%
wait and see. With my hard-coded
dictionary<00:01:49.600><c> and</c><00:01:49.720><c> my</c><00:01:49.800><c> squares</c><00:01:50.360><c> all</c><00:01:50.560><c> in</c><00:01:50.640><c> their</c>

00:01:50.750 --> 00:01:50.760 align:start position:0%
dictionary and my squares all in their
 

00:01:50.760 --> 00:01:52.470 align:start position:0%
dictionary and my squares all in their
forever<00:01:51.120><c> homes,</c><00:01:51.560><c> I</c><00:01:51.640><c> got</c><00:01:51.800><c> started</c><00:01:52.120><c> on</c><00:01:52.240><c> making</c>

00:01:52.470 --> 00:01:52.480 align:start position:0%
forever homes, I got started on making
 

00:01:52.480 --> 00:01:54.270 align:start position:0%
forever homes, I got started on making
some<00:01:52.600><c> chess</c><00:01:52.840><c> pieces.</c><00:01:53.320><c> Each</c><00:01:53.560><c> piece</c><00:01:53.800><c> had</c><00:01:53.960><c> unique</c>

00:01:54.270 --> 00:01:54.280 align:start position:0%
some chess pieces. Each piece had unique
 

00:01:54.280 --> 00:01:56.070 align:start position:0%
some chess pieces. Each piece had unique
challenges<00:01:54.800><c> to</c><00:01:54.920><c> solve,</c><00:01:55.400><c> and</c><00:01:55.680><c> I</c><00:01:55.720><c> was</c><00:01:55.880><c> really</c>

00:01:56.070 --> 00:01:56.080 align:start position:0%
challenges to solve, and I was really
 

00:01:56.080 --> 00:01:57.830 align:start position:0%
challenges to solve, and I was really
hoping<00:01:56.320><c> that</c><00:01:56.440><c> the</c><00:01:56.520><c> pawn</c><00:01:56.840><c> would</c><00:01:56.960><c> be</c><00:01:57.080><c> simple.</c><00:01:57.600><c> It</c>

00:01:57.830 --> 00:01:57.840 align:start position:0%
hoping that the pawn would be simple. It
 

00:01:57.840 --> 00:01:59.510 align:start position:0%
hoping that the pawn would be simple. It
was<00:01:57.960><c> not.</c><00:01:58.280><c> The</c><00:01:58.360><c> pawn</c><00:01:58.680><c> looks</c><00:01:59.000><c> like</c><00:01:59.160><c> a</c><00:01:59.240><c> simple</c>

00:01:59.510 --> 00:01:59.520 align:start position:0%
was not. The pawn looks like a simple
 

00:01:59.520 --> 00:02:01.030 align:start position:0%
was not. The pawn looks like a simple
piece<00:01:59.760><c> until</c><00:01:59.960><c> you</c><00:02:00.120><c> realize</c><00:02:00.400><c> that</c><00:02:00.520><c> it</c><00:02:00.640><c> actually</c>

00:02:01.030 --> 00:02:01.040 align:start position:0%
piece until you realize that it actually
 

00:02:01.040 --> 00:02:03.030 align:start position:0%
piece until you realize that it actually
has<00:02:01.280><c> six</c><00:02:01.640><c> rules</c><00:02:01.960><c> that</c><00:02:02.080><c> it</c><00:02:02.160><c> must</c><00:02:02.400><c> follow.</c><00:02:02.800><c> Oh,</c>

00:02:03.030 --> 00:02:03.040 align:start position:0%
has six rules that it must follow. Oh,
 

00:02:03.040 --> 00:02:04.990 align:start position:0%
has six rules that it must follow. Oh,
the<00:02:03.160><c> pawn</c><00:02:03.440><c> just</c><00:02:03.640><c> moves</c><00:02:03.880><c> forward.</c><00:02:04.440><c> Well,</c><00:02:04.840><c> that</c>

00:02:04.990 --> 00:02:05.000 align:start position:0%
the pawn just moves forward. Well, that
 

00:02:05.000 --> 00:02:06.870 align:start position:0%
the pawn just moves forward. Well, that
is<00:02:05.240><c> unless</c><00:02:05.560><c> it's</c><00:02:05.680><c> the</c><00:02:05.800><c> pawn's</c><00:02:06.160><c> first</c><00:02:06.480><c> move,</c>

00:02:06.870 --> 00:02:06.880 align:start position:0%
is unless it's the pawn's first move,
 

00:02:06.880 --> 00:02:08.469 align:start position:0%
is unless it's the pawn's first move,
then<00:02:07.000><c> it</c><00:02:07.080><c> can</c><00:02:07.160><c> move</c><00:02:07.400><c> two,</c><00:02:07.720><c> but</c><00:02:07.880><c> only</c><00:02:08.119><c> on</c><00:02:08.240><c> that</c>

00:02:08.469 --> 00:02:08.479 align:start position:0%
then it can move two, but only on that
 

00:02:08.479 --> 00:02:10.190 align:start position:0%
then it can move two, but only on that
move.<00:02:08.960><c> And</c><00:02:09.080><c> if</c><00:02:09.200><c> it's</c><00:02:09.320><c> capturing,</c><00:02:09.960><c> then</c><00:02:10.119><c> it</c>

00:02:10.190 --> 00:02:10.200 align:start position:0%
move. And if it's capturing, then it
 

00:02:10.200 --> 00:02:12.230 align:start position:0%
move. And if it's capturing, then it
moves<00:02:10.399><c> diagonally.</c><00:02:11.080><c> And</c><00:02:11.680><c> it</c><00:02:11.800><c> can</c><00:02:11.920><c> capture</c>

00:02:12.230 --> 00:02:12.240 align:start position:0%
moves diagonally. And it can capture
 

00:02:12.240 --> 00:02:13.950 align:start position:0%
moves diagonally. And it can capture
with<00:02:12.360><c> a</c><00:02:12.400><c> special</c><00:02:12.800><c> rule</c><00:02:13.040><c> called</c><00:02:13.320><c> en</c><00:02:13.520><c> passant,</c>

00:02:13.950 --> 00:02:13.960 align:start position:0%
with a special rule called en passant,
 

00:02:13.960 --> 00:02:15.430 align:start position:0%
with a special rule called en passant,
which<00:02:14.160><c> I</c><00:02:14.200><c> didn't</c><00:02:14.400><c> even</c><00:02:14.640><c> end</c><00:02:14.800><c> up</c><00:02:14.920><c> trying</c><00:02:15.320><c> to</c>

00:02:15.430 --> 00:02:15.440 align:start position:0%
which I didn't even end up trying to
 

00:02:15.440 --> 00:02:16.990 align:start position:0%
which I didn't even end up trying to
touch<00:02:15.680><c> until</c><00:02:15.920><c> much</c><00:02:16.120><c> later.</c><00:02:16.560><c> So,</c><00:02:16.680><c> my</c><00:02:16.800><c> first</c>

00:02:16.990 --> 00:02:17.000 align:start position:0%
touch until much later. So, my first
 

00:02:17.000 --> 00:02:18.550 align:start position:0%
touch until much later. So, my first
goal<00:02:17.160><c> was</c><00:02:17.280><c> simple.</c><00:02:17.640><c> I</c><00:02:17.680><c> needed</c><00:02:17.960><c> to</c><00:02:18.040><c> spawn</c><00:02:18.400><c> in</c><00:02:18.480><c> a</c>

00:02:18.550 --> 00:02:18.560 align:start position:0%
goal was simple. I needed to spawn in a
 

00:02:18.560 --> 00:02:20.230 align:start position:0%
goal was simple. I needed to spawn in a
piece<00:02:18.840><c> on</c><00:02:18.960><c> this</c><00:02:19.080><c> board</c><00:02:19.600><c> and</c><00:02:19.760><c> move</c><00:02:19.960><c> it</c><00:02:20.040><c> to</c><00:02:20.160><c> the</c>

00:02:20.230 --> 00:02:20.240 align:start position:0%
piece on this board and move it to the
 

00:02:20.240 --> 00:02:21.870 align:start position:0%
piece on this board and move it to the
square<00:02:20.520><c> that</c><00:02:20.680><c> I</c><00:02:20.720><c> click</c><00:02:20.960><c> on.</c><00:02:21.280><c> Easier</c><00:02:21.560><c> said</c><00:02:21.760><c> than</c>

00:02:21.870 --> 00:02:21.880 align:start position:0%
square that I click on. Easier said than
 

00:02:21.880 --> 00:02:23.630 align:start position:0%
square that I click on. Easier said than
done.<00:02:22.200><c> After</c><00:02:22.440><c> some</c><00:02:22.600><c> trial</c><00:02:22.920><c> and</c><00:02:23.080><c> error</c><00:02:23.520><c> and</c>

00:02:23.630 --> 00:02:23.640 align:start position:0%
done. After some trial and error and
 

00:02:23.640 --> 00:02:25.550 align:start position:0%
done. After some trial and error and
lots<00:02:23.840><c> of</c><00:02:23.960><c> quality</c><00:02:24.480><c> time</c><00:02:24.760><c> with</c><00:02:24.920><c> the</c><00:02:25.200><c> uh</c><00:02:25.240><c> turtle</c>

00:02:25.550 --> 00:02:25.560 align:start position:0%
lots of quality time with the uh turtle
 

00:02:25.560 --> 00:02:27.670 align:start position:0%
lots of quality time with the uh turtle
library<00:02:26.040><c> Wikipedia</c><00:02:26.640><c> page,</c><00:02:27.200><c> I</c><00:02:27.280><c> was</c><00:02:27.400><c> finally</c>

00:02:27.670 --> 00:02:27.680 align:start position:0%
library Wikipedia page, I was finally
 

00:02:27.680 --> 00:02:28.910 align:start position:0%
library Wikipedia page, I was finally
able<00:02:27.840><c> to</c><00:02:27.880><c> get</c><00:02:28.000><c> the</c><00:02:28.040><c> pieces</c><00:02:28.360><c> to</c><00:02:28.440><c> move</c><00:02:28.600><c> around</c><00:02:28.800><c> my</c>

00:02:28.910 --> 00:02:28.920 align:start position:0%
able to get the pieces to move around my
 

00:02:28.920 --> 00:02:30.910 align:start position:0%
able to get the pieces to move around my
clicking.<00:02:29.400><c> To</c><00:02:29.640><c> continue</c><00:02:30.120><c> testing,</c><00:02:30.640><c> I</c><00:02:30.720><c> put</c>

00:02:30.910 --> 00:02:30.920 align:start position:0%
clicking. To continue testing, I put
 

00:02:30.920 --> 00:02:33.150 align:start position:0%
clicking. To continue testing, I put
multiple<00:02:31.280><c> pieces</c><00:02:31.640><c> on</c><00:02:31.720><c> my</c><00:02:31.840><c> board</c><00:02:32.560><c> and</c><00:02:32.800><c> realized</c>

00:02:33.150 --> 00:02:33.160 align:start position:0%
multiple pieces on my board and realized
 

00:02:33.160 --> 00:02:34.830 align:start position:0%
multiple pieces on my board and realized
that<00:02:33.280><c> I</c><00:02:33.360><c> have</c><00:02:33.520><c> a</c><00:02:33.560><c> problem.</c><00:02:34.160><c> There</c><00:02:34.440><c> was</c><00:02:34.600><c> nothing</c>

00:02:34.830 --> 00:02:34.840 align:start position:0%
that I have a problem. There was nothing
 

00:02:34.840 --> 00:02:36.630 align:start position:0%
that I have a problem. There was nothing
preventing<00:02:35.240><c> the</c><00:02:35.320><c> pieces</c><00:02:35.680><c> from</c><00:02:35.880><c> occupying</c><00:02:36.520><c> the</c>

00:02:36.630 --> 00:02:36.640 align:start position:0%
preventing the pieces from occupying the
 

00:02:36.640 --> 00:02:39.430 align:start position:0%
preventing the pieces from occupying the
same<00:02:36.960><c> square.</c><00:02:37.520><c> My</c><00:02:37.800><c> solution?</c><00:02:38.760><c> You</c><00:02:38.920><c> got</c><00:02:39.160><c> it.</c>

00:02:39.430 --> 00:02:39.440 align:start position:0%
same square. My solution? You got it.
 

00:02:39.440 --> 00:02:42.030 align:start position:0%
same square. My solution? You got it.
Another<00:02:39.920><c> hard-coded</c><00:02:40.800><c> dictionary.</c><00:02:41.560><c> This</c><00:02:41.800><c> one</c>

00:02:42.030 --> 00:02:42.040 align:start position:0%
Another hard-coded dictionary. This one
 

00:02:42.040 --> 00:02:44.030 align:start position:0%
Another hard-coded dictionary. This one
kept<00:02:42.320><c> track</c><00:02:42.600><c> of</c><00:02:42.720><c> which</c><00:02:42.960><c> pieces</c><00:02:43.520><c> was</c><00:02:43.680><c> on</c><00:02:43.840><c> which</c>

00:02:44.030 --> 00:02:44.040 align:start position:0%
kept track of which pieces was on which
 

00:02:44.040 --> 00:02:45.670 align:start position:0%
kept track of which pieces was on which
square.<00:02:44.520><c> Next,</c><00:02:45.000><c> I</c><00:02:45.080><c> made</c><00:02:45.360><c> movement</c>

00:02:45.670 --> 00:02:45.680 align:start position:0%
square. Next, I made movement
 

00:02:45.680 --> 00:02:47.110 align:start position:0%
square. Next, I made movement
restrictions<00:02:46.200><c> for</c><00:02:46.280><c> the</c><00:02:46.360><c> pawn</c><00:02:46.720><c> that</c><00:02:46.880><c> only</c>

00:02:47.110 --> 00:02:47.120 align:start position:0%
restrictions for the pawn that only
 

00:02:47.120 --> 00:02:48.830 align:start position:0%
restrictions for the pawn that only
allowed<00:02:47.400><c> it</c><00:02:47.520><c> to</c><00:02:47.600><c> move</c><00:02:47.960><c> two</c><00:02:48.120><c> squares</c><00:02:48.480><c> forward</c>

00:02:48.830 --> 00:02:48.840 align:start position:0%
allowed it to move two squares forward
 

00:02:48.840 --> 00:02:50.710 align:start position:0%
allowed it to move two squares forward
on<00:02:48.960><c> move</c><00:02:49.160><c> one</c><00:02:49.520><c> and</c><00:02:49.640><c> one</c><00:02:49.880><c> square</c><00:02:50.120><c> forward</c><00:02:50.560><c> on</c>

00:02:50.710 --> 00:02:50.720 align:start position:0%
on move one and one square forward on
 

00:02:50.720 --> 00:02:52.550 align:start position:0%
on move one and one square forward on
any<00:02:50.920><c> other</c><00:02:51.120><c> move.</c><00:02:51.640><c> Look</c><00:02:51.800><c> at</c><00:02:51.840><c> that,</c><00:02:52.040><c> the</c><00:02:52.160><c> pawn's</c>

00:02:52.550 --> 00:02:52.560 align:start position:0%
any other move. Look at that, the pawn's
 

00:02:52.560 --> 00:02:54.510 align:start position:0%
any other move. Look at that, the pawn's
working.<00:02:53.280><c> Next</c><00:02:53.560><c> up</c><00:02:53.800><c> was</c><00:02:53.960><c> the</c><00:02:54.040><c> knight.</c><00:02:54.440><c> The</c>

00:02:54.510 --> 00:02:54.520 align:start position:0%
working. Next up was the knight. The
 

00:02:54.520 --> 00:02:55.990 align:start position:0%
working. Next up was the knight. The
nice<00:02:54.800><c> thing</c><00:02:54.960><c> about</c><00:02:55.200><c> the</c><00:02:55.280><c> knight</c><00:02:55.680><c> is</c><00:02:55.800><c> that</c><00:02:55.920><c> it</c>

00:02:55.990 --> 00:02:56.000 align:start position:0%
nice thing about the knight is that it
 

00:02:56.000 --> 00:02:58.310 align:start position:0%
nice thing about the knight is that it
can<00:02:56.120><c> hop</c><00:02:56.400><c> over</c><00:02:56.600><c> pieces,</c><00:02:57.320><c> meaning</c><00:02:58.000><c> I</c><00:02:58.120><c> didn't</c>

00:02:58.310 --> 00:02:58.320 align:start position:0%
can hop over pieces, meaning I didn't
 

00:02:58.320 --> 00:02:59.470 align:start position:0%
can hop over pieces, meaning I didn't
have<00:02:58.480><c> to</c><00:02:58.560><c> figure</c><00:02:58.800><c> out</c><00:02:58.920><c> if</c><00:02:59.040><c> anything</c><00:02:59.320><c> was</c>

00:02:59.470 --> 00:02:59.480 align:start position:0%
have to figure out if anything was
 

00:02:59.480 --> 00:03:01.310 align:start position:0%
have to figure out if anything was
blocking<00:02:59.880><c> him.</c><00:03:00.200><c> The</c><00:03:00.320><c> knight</c><00:03:00.680><c> essentially</c><00:03:01.080><c> has</c>

00:03:01.310 --> 00:03:01.320 align:start position:0%
blocking him. The knight essentially has
 

00:03:01.320 --> 00:03:02.830 align:start position:0%
blocking him. The knight essentially has
eight<00:03:01.480><c> squares</c><00:03:01.840><c> that</c><00:03:01.960><c> it</c><00:03:02.040><c> can</c><00:03:02.120><c> move</c><00:03:02.360><c> to.</c><00:03:02.600><c> So,</c><00:03:02.760><c> I</c>

00:03:02.830 --> 00:03:02.840 align:start position:0%
eight squares that it can move to. So, I
 

00:03:02.840 --> 00:03:04.870 align:start position:0%
eight squares that it can move to. So, I
came<00:03:03.040><c> up</c><00:03:03.120><c> with</c><00:03:03.240><c> an</c><00:03:03.360><c> elegant</c><00:03:03.760><c> solution.</c><00:03:04.600><c> Using</c>

00:03:04.870 --> 00:03:04.880 align:start position:0%
came up with an elegant solution. Using
 

00:03:04.880 --> 00:03:06.150 align:start position:0%
came up with an elegant solution. Using
the<00:03:04.960><c> coordinates</c><00:03:05.480><c> from</c><00:03:05.640><c> my</c><00:03:05.720><c> notation</c>

00:03:06.150 --> 00:03:06.160 align:start position:0%
the coordinates from my notation
 

00:03:06.160 --> 00:03:08.710 align:start position:0%
the coordinates from my notation
dictionary,<00:03:06.800><c> I</c><00:03:06.920><c> wrote</c><00:03:07.360><c> eight</c><00:03:07.760><c> if</c><00:03:07.920><c> statements</c>

00:03:08.710 --> 00:03:08.720 align:start position:0%
dictionary, I wrote eight if statements
 

00:03:08.720 --> 00:03:09.910 align:start position:0%
dictionary, I wrote eight if statements
that<00:03:08.880><c> check</c><00:03:09.120><c> if</c><00:03:09.200><c> the</c><00:03:09.280><c> coordinates</c><00:03:09.760><c> of</c><00:03:09.840><c> the</c>

00:03:09.910 --> 00:03:09.920 align:start position:0%
that check if the coordinates of the
 

00:03:09.920 --> 00:03:11.590 align:start position:0%
that check if the coordinates of the
selected<00:03:10.360><c> square</c><00:03:10.840><c> match</c><00:03:11.120><c> up</c><00:03:11.240><c> with</c><00:03:11.400><c> one</c><00:03:11.520><c> of</c>

00:03:11.590 --> 00:03:11.600 align:start position:0%
selected square match up with one of
 

00:03:11.600 --> 00:03:13.790 align:start position:0%
selected square match up with one of
these<00:03:11.800><c> eight</c><00:03:11.960><c> squares.</c><00:03:12.480><c> Genius,</c><00:03:13.240><c> I</c><00:03:13.400><c> know.</c>

00:03:13.790 --> 00:03:13.800 align:start position:0%
these eight squares. Genius, I know.
 

00:03:13.800 --> 00:03:15.070 align:start position:0%
these eight squares. Genius, I know.
Then<00:03:13.960><c> came</c><00:03:14.120><c> the</c><00:03:14.160><c> bishop,</c><00:03:14.520><c> and</c><00:03:14.680><c> this</c><00:03:14.880><c> is</c><00:03:14.960><c> the</c>

00:03:15.070 --> 00:03:15.080 align:start position:0%
Then came the bishop, and this is the
 

00:03:15.080 --> 00:03:16.070 align:start position:0%
Then came the bishop, and this is the
point<00:03:15.280><c> in</c><00:03:15.360><c> the</c><00:03:15.400><c> project</c><00:03:15.920><c> where</c><00:03:16.000><c> the</c>

00:03:16.070 --> 00:03:16.080 align:start position:0%
point in the project where the
 

00:03:16.080 --> 00:03:17.790 align:start position:0%
point in the project where the
difficulty<00:03:16.560><c> really</c><00:03:16.800><c> started</c><00:03:17.080><c> to</c><00:03:17.200><c> step</c><00:03:17.480><c> up.</c>

00:03:17.790 --> 00:03:17.800 align:start position:0%
difficulty really started to step up.
 

00:03:17.800 --> 00:03:19.630 align:start position:0%
difficulty really started to step up.
Solving<00:03:18.280><c> the</c><00:03:18.360><c> basic</c><00:03:18.800><c> movement</c><00:03:19.200><c> wasn't</c><00:03:19.520><c> too</c>

00:03:19.630 --> 00:03:19.640 align:start position:0%
Solving the basic movement wasn't too
 

00:03:19.640 --> 00:03:21.230 align:start position:0%
Solving the basic movement wasn't too
bad.<00:03:20.080><c> I</c><00:03:20.120><c> just</c><00:03:20.320><c> ended</c><00:03:20.560><c> up</c><00:03:20.680><c> comparing</c><00:03:21.160><c> the</c>

00:03:21.230 --> 00:03:21.240 align:start position:0%
bad. I just ended up comparing the
 

00:03:21.240 --> 00:03:23.510 align:start position:0%
bad. I just ended up comparing the
distance<00:03:21.720><c> traveled</c><00:03:22.360><c> along</c><00:03:22.600><c> the</c><00:03:22.760><c> X</c><00:03:22.960><c> coordinate</c>

00:03:23.510 --> 00:03:23.520 align:start position:0%
distance traveled along the X coordinate
 

00:03:23.520 --> 00:03:24.910 align:start position:0%
distance traveled along the X coordinate
and<00:03:23.600><c> the</c><00:03:23.680><c> distance</c><00:03:24.040><c> traveled</c><00:03:24.360><c> along</c><00:03:24.560><c> the</c><00:03:24.680><c> Y</c>

00:03:24.910 --> 00:03:24.920 align:start position:0%
and the distance traveled along the Y
 

00:03:24.920 --> 00:03:26.550 align:start position:0%
and the distance traveled along the Y
coordinate.<00:03:25.440><c> And</c><00:03:25.520><c> if</c><00:03:25.600><c> these</c><00:03:25.840><c> two</c><00:03:26.000><c> distances</c>

00:03:26.550 --> 00:03:26.560 align:start position:0%
coordinate. And if these two distances
 

00:03:26.560 --> 00:03:27.950 align:start position:0%
coordinate. And if these two distances
match,<00:03:27.160><c> then</c><00:03:27.240><c> the</c><00:03:27.320><c> bishop</c><00:03:27.560><c> is</c><00:03:27.640><c> allowed</c><00:03:27.880><c> to</c>

00:03:27.950 --> 00:03:27.960 align:start position:0%
match, then the bishop is allowed to
 

00:03:27.960 --> 00:03:29.550 align:start position:0%
match, then the bishop is allowed to
move<00:03:28.160><c> there.</c><00:03:28.360><c> But,</c><00:03:28.760><c> here's</c><00:03:29.000><c> what</c><00:03:29.160><c> was</c><00:03:29.280><c> tricky</c>

00:03:29.550 --> 00:03:29.560 align:start position:0%
move there. But, here's what was tricky
 

00:03:29.560 --> 00:03:31.430 align:start position:0%
move there. But, here's what was tricky
about<00:03:29.760><c> the</c><00:03:29.840><c> bishop.</c><00:03:30.240><c> The</c><00:03:30.400><c> bishop</c><00:03:31.160><c> is</c><00:03:31.320><c> the</c>

00:03:31.430 --> 00:03:31.440 align:start position:0%
about the bishop. The bishop is the
 

00:03:31.440 --> 00:03:34.070 align:start position:0%
about the bishop. The bishop is the
first<00:03:31.800><c> piece</c><00:03:32.280><c> I've</c><00:03:32.520><c> made</c><00:03:33.040><c> that</c><00:03:33.280><c> can't</c><00:03:33.840><c> move</c>

00:03:34.070 --> 00:03:34.080 align:start position:0%
first piece I've made that can't move
 

00:03:34.080 --> 00:03:35.710 align:start position:0%
first piece I've made that can't move
through<00:03:34.240><c> other</c><00:03:34.400><c> pieces.</c><00:03:35.040><c> I</c><00:03:35.120><c> ended</c><00:03:35.320><c> up</c><00:03:35.440><c> using</c>

00:03:35.710 --> 00:03:35.720 align:start position:0%
through other pieces. I ended up using
 

00:03:35.720 --> 00:03:36.797 align:start position:0%
through other pieces. I ended up using
some<00:03:35.880><c> very</c>

00:03:36.797 --> 00:03:36.807 align:start position:0%
some very
 

00:03:36.807 --> 00:03:37.030 align:start position:0%
some very
&gt;&gt; [clears throat]

00:03:37.030 --> 00:03:37.040 align:start position:0%
&gt;&gt; [clears throat]
 

00:03:37.040 --> 00:03:39.190 align:start position:0%
&gt;&gt; [clears throat]
&gt;&gt; sophisticated<00:03:37.920><c> mathematics</c><00:03:38.680><c> to</c><00:03:38.800><c> determine</c>

00:03:39.190 --> 00:03:39.200 align:start position:0%
&gt;&gt; sophisticated mathematics to determine
 

00:03:39.200 --> 00:03:40.950 align:start position:0%
&gt;&gt; sophisticated mathematics to determine
how<00:03:39.360><c> far</c><00:03:39.600><c> the</c><00:03:39.720><c> bishop</c><00:03:40.080><c> was</c><00:03:40.200><c> traveling</c><00:03:40.760><c> and</c>

00:03:40.950 --> 00:03:40.960 align:start position:0%
how far the bishop was traveling and
 

00:03:40.960 --> 00:03:42.870 align:start position:0%
how far the bishop was traveling and
what<00:03:41.160><c> direction</c><00:03:41.680><c> it</c><00:03:41.800><c> was</c><00:03:42.000><c> moving.</c><00:03:42.520><c> Once</c><00:03:42.720><c> I</c><00:03:42.760><c> had</c>

00:03:42.870 --> 00:03:42.880 align:start position:0%
what direction it was moving. Once I had
 

00:03:42.880 --> 00:03:44.590 align:start position:0%
what direction it was moving. Once I had
that<00:03:43.000><c> information,</c><00:03:43.720><c> I</c><00:03:43.800><c> was</c><00:03:43.960><c> able</c><00:03:44.160><c> to</c><00:03:44.280><c> check</c>

00:03:44.590 --> 00:03:44.600 align:start position:0%
that information, I was able to check
 

00:03:44.600 --> 00:03:46.230 align:start position:0%
that information, I was able to check
all<00:03:44.800><c> of</c><00:03:44.880><c> the</c><00:03:44.960><c> squares</c><00:03:45.440><c> between</c><00:03:45.760><c> the</c><00:03:45.840><c> bishop</c>

00:03:46.230 --> 00:03:46.240 align:start position:0%
all of the squares between the bishop
 

00:03:46.240 --> 00:03:48.190 align:start position:0%
all of the squares between the bishop
and<00:03:46.360><c> its</c><00:03:46.520><c> destination</c><00:03:47.160><c> square</c><00:03:47.640><c> to</c><00:03:47.720><c> determine</c>

00:03:48.190 --> 00:03:48.200 align:start position:0%
and its destination square to determine
 

00:03:48.200 --> 00:03:49.590 align:start position:0%
and its destination square to determine
if<00:03:48.400><c> anything</c><00:03:48.680><c> was</c><00:03:48.840><c> blocking</c><00:03:49.160><c> its</c><00:03:49.280><c> path.</c>

00:03:49.590 --> 00:03:49.600 align:start position:0%
if anything was blocking its path.
 

00:03:49.600 --> 00:03:51.550 align:start position:0%
if anything was blocking its path.
Explaining<00:03:50.200><c> it</c><00:03:50.360><c> after</c><00:03:50.640><c> the</c><00:03:50.760><c> fact</c><00:03:51.120><c> might</c><00:03:51.400><c> make</c>

00:03:51.550 --> 00:03:51.560 align:start position:0%
Explaining it after the fact might make
 

00:03:51.560 --> 00:03:53.790 align:start position:0%
Explaining it after the fact might make
it<00:03:51.680><c> sound</c><00:03:51.920><c> simple,</c><00:03:52.440><c> but</c><00:03:52.760><c> as</c><00:03:53.000><c> someone</c><00:03:53.360><c> who</c><00:03:53.520><c> has</c>

00:03:53.790 --> 00:03:53.800 align:start position:0%
it sound simple, but as someone who has
 

00:03:53.800 --> 00:03:55.910 align:start position:0%
it sound simple, but as someone who has
never<00:03:54.240><c> coded</c><00:03:54.680><c> in</c><00:03:54.800><c> his</c><00:03:55.000><c> life,</c><00:03:55.400><c> this</c><00:03:55.640><c> felt</c><00:03:55.800><c> like</c>

00:03:55.910 --> 00:03:55.920 align:start position:0%
never coded in his life, this felt like
 

00:03:55.920 --> 00:03:57.630 align:start position:0%
never coded in his life, this felt like
a<00:03:56.000><c> huge</c><00:03:56.360><c> accomplishment</c><00:03:56.960><c> to</c><00:03:57.040><c> figure</c><00:03:57.360><c> out.</c><00:03:57.520><c> The</c>

00:03:57.630 --> 00:03:57.640 align:start position:0%
a huge accomplishment to figure out. The
 

00:03:57.640 --> 00:03:58.950 align:start position:0%
a huge accomplishment to figure out. The
rook<00:03:57.800><c> and</c><00:03:57.880><c> the</c><00:03:57.960><c> queen</c><00:03:58.240><c> were</c><00:03:58.360><c> actually</c><00:03:58.680><c> very</c>

00:03:58.950 --> 00:03:58.960 align:start position:0%
rook and the queen were actually very
 

00:03:58.960 --> 00:04:00.390 align:start position:0%
rook and the queen were actually very
similar<00:03:59.280><c> to</c><00:03:59.360><c> the</c><00:03:59.400><c> bishop.</c><00:03:59.800><c> The</c><00:03:59.920><c> rook</c><00:04:00.120><c> followed</c>

00:04:00.390 --> 00:04:00.400 align:start position:0%
similar to the bishop. The rook followed
 

00:04:00.400 --> 00:04:02.390 align:start position:0%
similar to the bishop. The rook followed
the<00:04:00.480><c> exact</c><00:04:00.840><c> same</c><00:04:01.000><c> concept,</c><00:04:01.560><c> just</c><00:04:01.840><c> horizontal</c>

00:04:02.390 --> 00:04:02.400 align:start position:0%
the exact same concept, just horizontal
 

00:04:02.400 --> 00:04:04.590 align:start position:0%
the exact same concept, just horizontal
and<00:04:02.520><c> vertical.</c><00:04:02.960><c> And</c><00:04:03.080><c> the</c><00:04:03.160><c> queen,</c><00:04:03.840><c> get</c><00:04:04.040><c> this,</c><00:04:04.520><c> I</c>

00:04:04.590 --> 00:04:04.600 align:start position:0%
and vertical. And the queen, get this, I
 

00:04:04.600 --> 00:04:06.510 align:start position:0%
and vertical. And the queen, get this, I
had<00:04:04.760><c> a</c><00:04:04.800><c> beautiful</c><00:04:05.240><c> thought.</c><00:04:05.680><c> What</c><00:04:06.000><c> if</c><00:04:06.440><c> the</c>

00:04:06.510 --> 00:04:06.520 align:start position:0%
had a beautiful thought. What if the
 

00:04:06.520 --> 00:04:09.270 align:start position:0%
had a beautiful thought. What if the
queen<00:04:07.200><c> is</c><00:04:07.360><c> just</c><00:04:07.640><c> bishop</c><00:04:08.000><c> plus</c><00:04:08.320><c> rook?</c><00:04:08.680><c> And</c><00:04:08.800><c> yes,</c>

00:04:09.270 --> 00:04:09.280 align:start position:0%
queen is just bishop plus rook? And yes,
 

00:04:09.280 --> 00:04:11.950 align:start position:0%
queen is just bishop plus rook? And yes,
yes,<00:04:09.640><c> it</c><00:04:09.760><c> was.</c><00:04:10.160><c> I</c><00:04:10.320><c> literally</c><00:04:11.120><c> just</c><00:04:11.400><c> copied</c><00:04:11.840><c> the</c>

00:04:11.950 --> 00:04:11.960 align:start position:0%
yes, it was. I literally just copied the
 

00:04:11.960 --> 00:04:14.590 align:start position:0%
yes, it was. I literally just copied the
rook<00:04:12.240><c> logic,</c><00:04:12.800><c> pasted</c><00:04:13.200><c> it</c><00:04:13.400><c> directly</c><00:04:14.040><c> after</c><00:04:14.440><c> the</c>

00:04:14.590 --> 00:04:14.600 align:start position:0%
rook logic, pasted it directly after the
 

00:04:14.600 --> 00:04:16.590 align:start position:0%
rook logic, pasted it directly after the
bishop<00:04:15.080><c> logic,</c><00:04:15.520><c> and</c><00:04:15.680><c> wrapped</c><00:04:15.960><c> that</c><00:04:16.200><c> all</c><00:04:16.440><c> in</c><00:04:16.560><c> a</c>

00:04:16.590 --> 00:04:16.600 align:start position:0%
bishop logic, and wrapped that all in a
 

00:04:16.600 --> 00:04:19.150 align:start position:0%
bishop logic, and wrapped that all in a
nice<00:04:16.959><c> little</c><00:04:17.359><c> if</c><00:04:17.640><c> piece</c><00:04:18.079><c> equals</c><00:04:18.480><c> queen,</c><00:04:19.000><c> and</c>

00:04:19.150 --> 00:04:19.160 align:start position:0%
nice little if piece equals queen, and
 

00:04:19.160 --> 00:04:20.750 align:start position:0%
nice little if piece equals queen, and
boom,<00:04:19.640><c> the</c><00:04:19.680><c> queen</c><00:04:19.880><c> was</c><00:04:20.000><c> working</c><00:04:20.239><c> perfectly.</c>

00:04:20.750 --> 00:04:20.760 align:start position:0%
boom, the queen was working perfectly.
 

00:04:20.760 --> 00:04:23.150 align:start position:0%
boom, the queen was working perfectly.
The<00:04:20.840><c> king</c><00:04:21.000><c> was</c><00:04:21.160><c> also</c><00:04:21.680><c> really</c><00:04:21.920><c> easy,</c><00:04:22.520><c> uh</c>

00:04:23.150 --> 00:04:23.160 align:start position:0%
The king was also really easy, uh
 

00:04:23.160 --> 00:04:24.870 align:start position:0%
The king was also really easy, uh
at<00:04:23.280><c> least</c><00:04:23.520><c> at</c><00:04:23.640><c> first.</c><00:04:24.160><c> I</c><00:04:24.240><c> just</c><00:04:24.400><c> created</c><00:04:24.720><c> some</c>

00:04:24.870 --> 00:04:24.880 align:start position:0%
at least at first. I just created some
 

00:04:24.880 --> 00:04:26.350 align:start position:0%
at least at first. I just created some
conditional<00:04:25.320><c> logic</c><00:04:25.680><c> that</c><00:04:25.840><c> allowed</c><00:04:26.040><c> the</c><00:04:26.120><c> king</c>

00:04:26.350 --> 00:04:26.360 align:start position:0%
conditional logic that allowed the king
 

00:04:26.360 --> 00:04:27.870 align:start position:0%
conditional logic that allowed the king
to<00:04:26.440><c> move</c><00:04:26.640><c> to</c><00:04:26.800><c> any</c><00:04:27.000><c> immediate</c><00:04:27.440><c> surrounding</c>

00:04:27.870 --> 00:04:27.880 align:start position:0%
to move to any immediate surrounding
 

00:04:27.880 --> 00:04:29.550 align:start position:0%
to move to any immediate surrounding
square<00:04:28.160><c> that</c><00:04:28.280><c> wasn't</c><00:04:28.560><c> occupied.</c><00:04:29.160><c> Little</c><00:04:29.400><c> did</c>

00:04:29.550 --> 00:04:29.560 align:start position:0%
square that wasn't occupied. Little did
 

00:04:29.560 --> 00:04:31.630 align:start position:0%
square that wasn't occupied. Little did
I<00:04:29.600><c> know</c><00:04:30.120><c> that</c><00:04:30.600><c> the</c><00:04:30.680><c> special</c><00:04:31.120><c> rules</c><00:04:31.440><c> for</c><00:04:31.560><c> the</c>

00:04:31.630 --> 00:04:31.640 align:start position:0%
I know that the special rules for the
 

00:04:31.640 --> 00:04:33.790 align:start position:0%
I know that the special rules for the
king<00:04:32.320><c> would</c><00:04:32.520><c> later</c><00:04:32.840><c> prove</c><00:04:33.240><c> to</c><00:04:33.320><c> be</c><00:04:33.480><c> the</c><00:04:33.560><c> most</c>

00:04:33.790 --> 00:04:33.800 align:start position:0%
king would later prove to be the most
 

00:04:33.800 --> 00:04:35.230 align:start position:0%
king would later prove to be the most
challenging<00:04:34.280><c> aspect</c><00:04:34.720><c> of</c><00:04:34.800><c> this</c><00:04:34.920><c> entire</c>

00:04:35.230 --> 00:04:35.240 align:start position:0%
challenging aspect of this entire
 

00:04:35.240 --> 00:04:37.230 align:start position:0%
challenging aspect of this entire
project.<00:04:35.800><c> But,</c><00:04:36.160><c> here</c><00:04:36.360><c> we</c><00:04:36.520><c> are.</c><00:04:36.960><c> At</c><00:04:37.080><c> this</c>

00:04:37.230 --> 00:04:37.240 align:start position:0%
project. But, here we are. At this
 

00:04:37.240 --> 00:04:38.550 align:start position:0%
project. But, here we are. At this
point,<00:04:37.520><c> the</c><00:04:37.600><c> game</c><00:04:37.800><c> is</c><00:04:37.880><c> starting</c><00:04:38.200><c> to</c><00:04:38.320><c> really</c>

00:04:38.550 --> 00:04:38.560 align:start position:0%
point, the game is starting to really
 

00:04:38.560 --> 00:04:40.230 align:start position:0%
point, the game is starting to really
resemble<00:04:38.960><c> chess.</c><00:04:39.480><c> My</c><00:04:39.680><c> vision</c><00:04:40.000><c> for</c><00:04:40.120><c> this</c>

00:04:40.230 --> 00:04:40.240 align:start position:0%
resemble chess. My vision for this
 

00:04:40.240 --> 00:04:42.230 align:start position:0%
resemble chess. My vision for this
project<00:04:40.760><c> was</c><00:04:40.920><c> to</c><00:04:41.000><c> create</c><00:04:41.360><c> a</c><00:04:41.520><c> pass-and-play</c>

00:04:42.230 --> 00:04:42.240 align:start position:0%
project was to create a pass-and-play
 

00:04:42.240 --> 00:04:43.910 align:start position:0%
project was to create a pass-and-play
chess<00:04:42.560><c> game</c><00:04:42.800><c> that</c><00:04:42.920><c> allowed</c><00:04:43.240><c> two</c><00:04:43.440><c> players</c><00:04:43.800><c> to</c>

00:04:43.910 --> 00:04:43.920 align:start position:0%
chess game that allowed two players to
 

00:04:43.920 --> 00:04:46.070 align:start position:0%
chess game that allowed two players to
face<00:04:44.200><c> off</c><00:04:44.400><c> locally.</c><00:04:44.880><c> So,</c><00:04:45.320><c> the</c><00:04:45.400><c> next</c><00:04:45.720><c> thing</c><00:04:46.000><c> I</c>

00:04:46.070 --> 00:04:46.080 align:start position:0%
face off locally. So, the next thing I
 

00:04:46.080 --> 00:04:47.750 align:start position:0%
face off locally. So, the next thing I
wanted<00:04:46.360><c> to</c><00:04:46.440><c> build</c><00:04:46.880><c> was</c><00:04:47.040><c> a</c><00:04:47.080><c> board</c><00:04:47.400><c> flipping</c>

00:04:47.750 --> 00:04:47.760 align:start position:0%
wanted to build was a board flipping
 

00:04:47.760 --> 00:04:50.470 align:start position:0%
wanted to build was a board flipping
system.<00:04:48.280><c> I</c><00:04:48.640><c> needed</c><00:04:49.000><c> a</c><00:04:49.040><c> way</c><00:04:49.240><c> to</c><00:04:49.480><c> flip</c><00:04:49.800><c> my</c><00:04:50.000><c> board</c>

00:04:50.470 --> 00:04:50.480 align:start position:0%
system. I needed a way to flip my board
 

00:04:50.480 --> 00:04:52.710 align:start position:0%
system. I needed a way to flip my board
upside<00:04:51.040><c> down</c><00:04:51.520><c> so</c><00:04:51.600><c> the</c><00:04:51.800><c> other</c><00:04:52.000><c> player</c><00:04:52.480><c> could</c>

00:04:52.710 --> 00:04:52.720 align:start position:0%
upside down so the other player could
 

00:04:52.720 --> 00:04:54.070 align:start position:0%
upside down so the other player could
see<00:04:52.920><c> the</c><00:04:53.040><c> position</c><00:04:53.560><c> from</c><00:04:53.720><c> the</c><00:04:53.800><c> correct</c>

00:04:54.070 --> 00:04:54.080 align:start position:0%
see the position from the correct
 

00:04:54.080 --> 00:04:56.070 align:start position:0%
see the position from the correct
orientation.<00:04:54.960><c> My</c><00:04:55.160><c> solution</c><00:04:55.480><c> was</c><00:04:55.600><c> simple.</c><00:04:56.000><c> I</c>

00:04:56.070 --> 00:04:56.080 align:start position:0%
orientation. My solution was simple. I
 

00:04:56.080 --> 00:04:57.630 align:start position:0%
orientation. My solution was simple. I
was<00:04:56.240><c> simply</c><00:04:56.520><c> going</c><00:04:56.640><c> to</c><00:04:56.720><c> multiply</c><00:04:57.320><c> all</c><00:04:57.520><c> the</c>

00:04:57.630 --> 00:04:57.640 align:start position:0%
was simply going to multiply all the
 

00:04:57.640 --> 00:04:59.510 align:start position:0%
was simply going to multiply all the
coordinates<00:04:58.200><c> in</c><00:04:58.320><c> my</c><00:04:58.440><c> notation</c><00:04:58.920><c> dictionary</c><00:04:59.360><c> by</c>

00:04:59.510 --> 00:04:59.520 align:start position:0%
coordinates in my notation dictionary by
 

00:04:59.520 --> 00:05:01.590 align:start position:0%
coordinates in my notation dictionary by
-1<00:04:59.993><c> [music]</c><00:05:00.280><c> after</c><00:05:00.600><c> every</c><00:05:00.840><c> move</c><00:05:01.240><c> and</c><00:05:01.360><c> then</c>

00:05:01.590 --> 00:05:01.600 align:start position:0%
-1 [music] after every move and then
 

00:05:01.600 --> 00:05:03.190 align:start position:0%
-1 [music] after every move and then
send<00:05:02.000><c> all</c><00:05:02.240><c> the</c><00:05:02.360><c> shapes</c><00:05:02.800><c> to</c><00:05:02.920><c> their</c><00:05:03.040><c> new</c>

00:05:03.190 --> 00:05:03.200 align:start position:0%
send all the shapes to their new
 

00:05:03.200 --> 00:05:05.390 align:start position:0%
send all the shapes to their new
positions.<00:05:04.040><c> Was</c><00:05:04.320><c> this</c><00:05:04.480><c> an</c><00:05:04.600><c> elegant</c><00:05:04.880><c> solution?</c>

00:05:05.390 --> 00:05:05.400 align:start position:0%
positions. Was this an elegant solution?
 

00:05:05.400 --> 00:05:07.270 align:start position:0%
positions. Was this an elegant solution?
No.<00:05:05.600><c> But,</c><00:05:05.880><c> did</c><00:05:06.000><c> it</c><00:05:06.080><c> work?</c><00:05:06.480><c> Also,</c><00:05:06.720><c> no.</c><00:05:07.040><c> At</c><00:05:07.120><c> least</c>

00:05:07.270 --> 00:05:07.280 align:start position:0%
No. But, did it work? Also, no. At least
 

00:05:07.280 --> 00:05:09.190 align:start position:0%
No. But, did it work? Also, no. At least
not<00:05:07.400><c> at</c><00:05:07.480><c> first.</c><00:05:07.920><c> However,</c><00:05:08.560><c> after</c><00:05:08.840><c> addressing</c>

00:05:09.190 --> 00:05:09.200 align:start position:0%
not at first. However, after addressing
 

00:05:09.200 --> 00:05:11.310 align:start position:0%
not at first. However, after addressing
a<00:05:09.240><c> couple</c><00:05:09.520><c> of</c><00:05:09.600><c> bugs,</c><00:05:10.200><c> the</c><00:05:10.320><c> board</c><00:05:10.680><c> flips</c><00:05:11.040><c> were</c>

00:05:11.310 --> 00:05:11.320 align:start position:0%
a couple of bugs, the board flips were
 

00:05:11.320 --> 00:05:13.070 align:start position:0%
a couple of bugs, the board flips were
working.<00:05:11.920><c> At</c><00:05:12.000><c> this</c><00:05:12.160><c> point,</c><00:05:12.560><c> I</c><00:05:12.600><c> had</c><00:05:12.760><c> to</c><00:05:12.840><c> build</c>

00:05:13.070 --> 00:05:13.080 align:start position:0%
working. At this point, I had to build
 

00:05:13.080 --> 00:05:14.670 align:start position:0%
working. At this point, I had to build
out<00:05:13.160><c> a</c><00:05:13.200><c> system</c><00:05:13.600><c> that</c><00:05:13.760><c> keeps</c><00:05:14.000><c> track</c><00:05:14.240><c> of</c><00:05:14.400><c> which</c>

00:05:14.670 --> 00:05:14.680 align:start position:0%
out a system that keeps track of which
 

00:05:14.680 --> 00:05:16.670 align:start position:0%
out a system that keeps track of which
team<00:05:14.960><c> is</c><00:05:15.080><c> taking</c><00:05:15.400><c> their</c><00:05:15.520><c> turn</c><00:05:16.200><c> to</c><00:05:16.280><c> prevent</c><00:05:16.600><c> the</c>

00:05:16.670 --> 00:05:16.680 align:start position:0%
team is taking their turn to prevent the
 

00:05:16.680 --> 00:05:18.350 align:start position:0%
team is taking their turn to prevent the
black<00:05:16.920><c> pieces</c><00:05:17.280><c> from</c><00:05:17.440><c> being</c><00:05:17.680><c> moved</c><00:05:17.920><c> on</c><00:05:18.000><c> a</c><00:05:18.080><c> white</c>

00:05:18.350 --> 00:05:18.360 align:start position:0%
black pieces from being moved on a white
 

00:05:18.360 --> 00:05:20.190 align:start position:0%
black pieces from being moved on a white
turn<00:05:18.960><c> and</c><00:05:19.080><c> vice</c><00:05:19.280><c> versa.</c><00:05:19.760><c> Next</c><00:05:20.000><c> up</c><00:05:20.120><c> was</c>

00:05:20.190 --> 00:05:20.200 align:start position:0%
turn and vice versa. Next up was
 

00:05:20.200 --> 00:05:21.990 align:start position:0%
turn and vice versa. Next up was
capturing.<00:05:20.840><c> For</c><00:05:20.960><c> most</c><00:05:21.240><c> pieces,</c><00:05:21.720><c> I</c><00:05:21.800><c> could</c>

00:05:21.990 --> 00:05:22.000 align:start position:0%
capturing. For most pieces, I could
 

00:05:22.000 --> 00:05:23.630 align:start position:0%
capturing. For most pieces, I could
reuse<00:05:22.400><c> their</c><00:05:22.520><c> normal</c><00:05:22.840><c> movement</c><00:05:23.200><c> logic</c><00:05:23.520><c> and</c>

00:05:23.630 --> 00:05:23.640 align:start position:0%
reuse their normal movement logic and
 

00:05:23.640 --> 00:05:25.550 align:start position:0%
reuse their normal movement logic and
simply<00:05:23.960><c> allow</c><00:05:24.200><c> them</c><00:05:24.400><c> to</c><00:05:24.560><c> select</c><00:05:25.040><c> squares</c>

00:05:25.550 --> 00:05:25.560 align:start position:0%
simply allow them to select squares
 

00:05:25.560 --> 00:05:27.310 align:start position:0%
simply allow them to select squares
occupied<00:05:26.120><c> by</c><00:05:26.280><c> enemy</c><00:05:26.600><c> pieces.</c><00:05:26.848><c> [music]</c><00:05:27.160><c> The</c>

00:05:27.310 --> 00:05:27.320 align:start position:0%
occupied by enemy pieces. [music] The
 

00:05:27.320 --> 00:05:29.710 align:start position:0%
occupied by enemy pieces. [music] The
pawn,<00:05:27.800><c> however,</c><00:05:28.360><c> needed</c><00:05:28.640><c> some</c><00:05:28.760><c> new</c><00:05:28.920><c> rules.</c><00:05:29.440><c> By</c>

00:05:29.710 --> 00:05:29.720 align:start position:0%
pawn, however, needed some new rules. By
 

00:05:29.720 --> 00:05:31.190 align:start position:0%
pawn, however, needed some new rules. By
adding<00:05:30.040><c> an</c><00:05:30.160><c> extra</c><00:05:30.440><c> if</c><00:05:30.600><c> statement</c><00:05:31.000><c> into</c><00:05:31.120><c> the</c>

00:05:31.190 --> 00:05:31.200 align:start position:0%
adding an extra if statement into the
 

00:05:31.200 --> 00:05:32.990 align:start position:0%
adding an extra if statement into the
pawn's<00:05:31.560><c> movement</c><00:05:31.840><c> logic,</c><00:05:32.280><c> it</c><00:05:32.400><c> could</c><00:05:32.560><c> now</c><00:05:32.800><c> move</c>

00:05:32.990 --> 00:05:33.000 align:start position:0%
pawn's movement logic, it could now move
 

00:05:33.000 --> 00:05:35.190 align:start position:0%
pawn's movement logic, it could now move
diagonally,<00:05:33.960><c> but</c><00:05:34.160><c> only</c><00:05:34.600><c> when</c><00:05:34.800><c> that</c><00:05:34.960><c> move</c>

00:05:35.190 --> 00:05:35.200 align:start position:0%
diagonally, but only when that move
 

00:05:35.200 --> 00:05:37.190 align:start position:0%
diagonally, but only when that move
resulted<00:05:35.640><c> in</c><00:05:35.760><c> capturing</c><00:05:36.200><c> an</c><00:05:36.320><c> enemy</c><00:05:36.600><c> piece.</c>

00:05:37.190 --> 00:05:37.200 align:start position:0%
resulted in capturing an enemy piece.
 

00:05:37.200 --> 00:05:39.830 align:start position:0%
resulted in capturing an enemy piece.
Also,<00:05:37.920><c> just</c><00:05:38.240><c> for</c><00:05:38.400><c> anyone</c><00:05:38.800><c> wondering,</c><00:05:39.400><c> never</c>

00:05:39.830 --> 00:05:39.840 align:start position:0%
Also, just for anyone wondering, never
 

00:05:39.840 --> 00:05:42.110 align:start position:0%
Also, just for anyone wondering, never
Google<00:05:40.440><c> how</c><00:05:40.600><c> to</c><00:05:40.720><c> remove</c><00:05:41.040><c> turtle.</c><00:05:41.960><c> Uh</c><00:05:42.040><c> the</c>

00:05:42.110 --> 00:05:42.120 align:start position:0%
Google how to remove turtle. Uh the
 

00:05:42.120 --> 00:05:44.390 align:start position:0%
Google how to remove turtle. Uh the
results<00:05:42.560><c> are</c><00:05:42.840><c> scary.</c><00:05:43.480><c> But,</c><00:05:43.600><c> hey,</c><00:05:44.080><c> look</c><00:05:44.320><c> at</c>

00:05:44.390 --> 00:05:44.400 align:start position:0%
results are scary. But, hey, look at
 

00:05:44.400 --> 00:05:45.870 align:start position:0%
results are scary. But, hey, look at
this.<00:05:44.840><c> This</c><00:05:44.960><c> game</c><00:05:45.120><c> is</c><00:05:45.280><c> really</c><00:05:45.600><c> starting</c><00:05:45.840><c> to</c>

00:05:45.870 --> 00:05:45.880 align:start position:0%
this. This game is really starting to
 

00:05:45.880 --> 00:05:48.030 align:start position:0%
this. This game is really starting to
look<00:05:46.040><c> like</c><00:05:46.200><c> chess.</c><00:05:46.760><c> I</c><00:05:46.840><c> felt</c><00:05:47.120><c> so</c><00:05:47.400><c> close,</c><00:05:47.880><c> but</c><00:05:48.000><c> I</c>

00:05:48.030 --> 00:05:48.040 align:start position:0%
look like chess. I felt so close, but I
 

00:05:48.040 --> 00:05:49.830 align:start position:0%
look like chess. I felt so close, but I
would<00:05:48.200><c> soon</c><00:05:48.440><c> realize</c><00:05:48.840><c> that</c><00:05:48.960><c> I</c><00:05:49.000><c> was</c><00:05:49.120><c> still</c><00:05:49.560><c> so</c>

00:05:49.830 --> 00:05:49.840 align:start position:0%
would soon realize that I was still so
 

00:05:49.840 --> 00:05:51.670 align:start position:0%
would soon realize that I was still so
far.<00:05:50.280><c> If</c><00:05:50.360><c> you</c><00:05:50.440><c> aren't</c><00:05:50.640><c> aware,</c><00:05:51.320><c> chess</c><00:05:51.520><c> has</c><00:05:51.640><c> a</c>

00:05:51.670 --> 00:05:51.680 align:start position:0%
far. If you aren't aware, chess has a
 

00:05:51.680 --> 00:05:53.830 align:start position:0%
far. If you aren't aware, chess has a
few<00:05:51.920><c> special</c><00:05:52.440><c> rules</c><00:05:52.920><c> that</c><00:05:53.040><c> allow</c><00:05:53.320><c> pieces</c><00:05:53.720><c> to</c>

00:05:53.830 --> 00:05:53.840 align:start position:0%
few special rules that allow pieces to
 

00:05:53.840 --> 00:05:55.510 align:start position:0%
few special rules that allow pieces to
do<00:05:54.000><c> things</c><00:05:54.240><c> they</c><00:05:54.360><c> normally</c><00:05:54.720><c> cannot.</c><00:05:55.400><c> The</c>

00:05:55.510 --> 00:05:55.520 align:start position:0%
do things they normally cannot. The
 

00:05:55.520 --> 00:05:57.390 align:start position:0%
do things they normally cannot. The
first<00:05:55.880><c> is</c><00:05:56.160><c> called</c><00:05:56.400><c> castling.</c><00:05:56.960><c> If</c><00:05:57.120><c> both</c><00:05:57.320><c> the</c>

00:05:57.390 --> 00:05:57.400 align:start position:0%
first is called castling. If both the
 

00:05:57.400 --> 00:05:59.270 align:start position:0%
first is called castling. If both the
king<00:05:57.720><c> and</c><00:05:57.800><c> the</c><00:05:57.880><c> rook</c><00:05:58.200><c> haven't</c><00:05:58.520><c> moved,</c><00:05:59.160><c> the</c>

00:05:59.270 --> 00:05:59.280 align:start position:0%
king and the rook haven't moved, the
 

00:05:59.280 --> 00:06:00.790 align:start position:0%
king and the rook haven't moved, the
player<00:05:59.600><c> can</c><00:05:59.720><c> make</c><00:05:59.920><c> them</c><00:06:00.040><c> do</c><00:06:00.360><c> a</c><00:06:00.440><c> little</c>

00:06:00.790 --> 00:06:00.800 align:start position:0%
player can make them do a little
 

00:06:00.800 --> 00:06:02.510 align:start position:0%
player can make them do a little
flip-flop.<00:06:01.360><c> I</c><00:06:01.440><c> added</c><00:06:01.720><c> two</c><00:06:01.880><c> legal</c><00:06:02.120><c> squares</c><00:06:02.440><c> for</c>

00:06:02.510 --> 00:06:02.520 align:start position:0%
flip-flop. I added two legal squares for
 

00:06:02.520 --> 00:06:04.150 align:start position:0%
flip-flop. I added two legal squares for
the<00:06:02.640><c> king</c><00:06:02.920><c> that</c><00:06:03.080><c> were</c><00:06:03.200><c> only</c><00:06:03.480><c> allowed</c><00:06:03.840><c> if</c><00:06:03.960><c> both</c>

00:06:04.150 --> 00:06:04.160 align:start position:0%
the king that were only allowed if both
 

00:06:04.160 --> 00:06:06.190 align:start position:0%
the king that were only allowed if both
the<00:06:04.280><c> king</c><00:06:04.600><c> and</c><00:06:04.720><c> the</c><00:06:04.840><c> rook</c><00:06:05.160><c> had</c><00:06:05.400><c> yet</c><00:06:05.640><c> to</c><00:06:05.760><c> move</c>

00:06:06.190 --> 00:06:06.200 align:start position:0%
the king and the rook had yet to move
 

00:06:06.200 --> 00:06:08.070 align:start position:0%
the king and the rook had yet to move
and<00:06:06.560><c> they</c><00:06:06.680><c> were</c><00:06:06.760><c> not</c><00:06:06.960><c> blocked.</c><00:06:07.459><c> [music]</c><00:06:07.560><c> Then,</c>

00:06:08.070 --> 00:06:08.080 align:start position:0%
and they were not blocked. [music] Then,
 

00:06:08.080 --> 00:06:09.550 align:start position:0%
and they were not blocked. [music] Then,
I<00:06:08.200><c> added</c><00:06:08.480><c> a</c><00:06:08.520><c> special</c><00:06:08.920><c> function</c><00:06:09.320><c> that</c><00:06:09.400><c> gets</c>

00:06:09.550 --> 00:06:09.560 align:start position:0%
I added a special function that gets
 

00:06:09.560 --> 00:06:11.070 align:start position:0%
I added a special function that gets
called<00:06:09.840><c> if</c><00:06:09.920><c> the</c><00:06:10.040><c> user</c><00:06:10.280><c> selects</c><00:06:10.720><c> one</c><00:06:10.840><c> of</c><00:06:10.880><c> these</c>

00:06:11.070 --> 00:06:11.080 align:start position:0%
called if the user selects one of these
 

00:06:11.080 --> 00:06:13.590 align:start position:0%
called if the user selects one of these
squares.<00:06:11.680><c> This</c><00:06:11.960><c> function</c><00:06:12.600><c> forces</c><00:06:13.080><c> the</c><00:06:13.280><c> rook</c>

00:06:13.590 --> 00:06:13.600 align:start position:0%
squares. This function forces the rook
 

00:06:13.600 --> 00:06:15.510 align:start position:0%
squares. This function forces the rook
to<00:06:13.760><c> also</c><00:06:14.120><c> move</c><00:06:14.360><c> to</c><00:06:14.480><c> its</c><00:06:14.600><c> correct</c><00:06:14.960><c> square.</c><00:06:15.440><c> The</c>

00:06:15.510 --> 00:06:15.520 align:start position:0%
to also move to its correct square. The
 

00:06:15.520 --> 00:06:16.870 align:start position:0%
to also move to its correct square. The
second<00:06:15.800><c> special</c><00:06:16.120><c> rule</c><00:06:16.320><c> is</c><00:06:16.440><c> called</c><00:06:16.680><c> en</c>

00:06:16.870 --> 00:06:16.880 align:start position:0%
second special rule is called en
 

00:06:16.880 --> 00:06:19.190 align:start position:0%
second special rule is called en
passant,<00:06:17.520><c> which</c><00:06:17.720><c> offers</c><00:06:18.360><c> some</c><00:06:18.560><c> new</c><00:06:18.800><c> tricky</c>

00:06:19.190 --> 00:06:19.200 align:start position:0%
passant, which offers some new tricky
 

00:06:19.200 --> 00:06:21.710 align:start position:0%
passant, which offers some new tricky
problems.<00:06:20.080><c> If</c><00:06:20.240><c> a</c><00:06:20.320><c> pawn</c><00:06:20.720><c> moves</c><00:06:21.080><c> two</c><00:06:21.280><c> squares</c>

00:06:21.710 --> 00:06:21.720 align:start position:0%
problems. If a pawn moves two squares
 

00:06:21.720 --> 00:06:24.670 align:start position:0%
problems. If a pawn moves two squares
forward<00:06:22.400><c> on</c><00:06:22.600><c> its</c><00:06:22.840><c> first</c><00:06:23.240><c> move</c><00:06:23.680><c> and</c><00:06:24.240><c> an</c><00:06:24.400><c> enemy</c>

00:06:24.670 --> 00:06:24.680 align:start position:0%
forward on its first move and an enemy
 

00:06:24.680 --> 00:06:27.230 align:start position:0%
forward on its first move and an enemy
pawn<00:06:25.040><c> is</c><00:06:25.200><c> sitting</c><00:06:25.480><c> directly</c><00:06:26.040><c> beside</c><00:06:26.560><c> it,</c><00:06:26.960><c> that</c>

00:06:27.230 --> 00:06:27.240 align:start position:0%
pawn is sitting directly beside it, that
 

00:06:27.240 --> 00:06:29.390 align:start position:0%
pawn is sitting directly beside it, that
enemy<00:06:27.520><c> pawn</c><00:06:27.840><c> is</c><00:06:27.920><c> allowed</c><00:06:28.160><c> to</c><00:06:28.240><c> capture</c><00:06:28.760><c> it</c><00:06:29.240><c> as</c>

00:06:29.390 --> 00:06:29.400 align:start position:0%
enemy pawn is allowed to capture it as
 

00:06:29.400 --> 00:06:31.590 align:start position:0%
enemy pawn is allowed to capture it as
if<00:06:29.560><c> it</c><00:06:29.640><c> had</c><00:06:29.840><c> only</c><00:06:30.160><c> moved</c><00:06:30.480><c> one</c><00:06:30.800><c> square.</c><00:06:31.360><c> To</c><00:06:31.480><c> make</c>

00:06:31.590 --> 00:06:31.600 align:start position:0%
if it had only moved one square. To make
 

00:06:31.600 --> 00:06:33.350 align:start position:0%
if it had only moved one square. To make
this<00:06:31.760><c> work,</c><00:06:32.040><c> I</c><00:06:32.160><c> added</c><00:06:32.560><c> another</c><00:06:33.120><c> new</c>

00:06:33.350 --> 00:06:33.360 align:start position:0%
this work, I added another new
 

00:06:33.360 --> 00:06:35.630 align:start position:0%
this work, I added another new
dictionary,<00:06:34.120><c> but</c><00:06:34.320><c> this</c><00:06:34.520><c> time</c><00:06:35.040><c> it</c><00:06:35.280><c> wasn't</c>

00:06:35.630 --> 00:06:35.640 align:start position:0%
dictionary, but this time it wasn't
 

00:06:35.640 --> 00:06:37.590 align:start position:0%
dictionary, but this time it wasn't
hard-coded.<00:06:36.440><c> I</c><00:06:36.520><c> know,</c><00:06:36.880><c> I</c><00:06:36.960><c> know,</c><00:06:37.400><c> he's</c>

00:06:37.590 --> 00:06:37.600 align:start position:0%
hard-coded. I know, I know, he's
 

00:06:37.600 --> 00:06:39.470 align:start position:0%
hard-coded. I know, I know, he's
learning.<00:06:38.280><c> When</c><00:06:38.440><c> a</c><00:06:38.520><c> pawn</c><00:06:38.899><c> [music]</c><00:06:39.000><c> makes</c><00:06:39.320><c> its</c>

00:06:39.470 --> 00:06:39.480 align:start position:0%
learning. When a pawn [music] makes its
 

00:06:39.480 --> 00:06:42.190 align:start position:0%
learning. When a pawn [music] makes its
initial<00:06:39.960><c> two-square</c><00:06:40.960><c> move,</c><00:06:41.440><c> I</c><00:06:41.520><c> temporarily</c>

00:06:42.190 --> 00:06:42.200 align:start position:0%
initial two-square move, I temporarily
 

00:06:42.200 --> 00:06:44.590 align:start position:0%
initial two-square move, I temporarily
mark<00:06:42.520><c> the</c><00:06:42.600><c> square</c><00:06:42.920><c> behind</c><00:06:43.320><c> it</c><00:06:43.560><c> as</c><00:06:43.840><c> en</c><00:06:44.040><c> passant</c>

00:06:44.590 --> 00:06:44.600 align:start position:0%
mark the square behind it as en passant
 

00:06:44.600 --> 00:06:47.030 align:start position:0%
mark the square behind it as en passant
eligible<00:06:45.280><c> for</c><00:06:45.440><c> one</c><00:06:45.680><c> turn</c><00:06:46.000><c> only.</c><00:06:46.480><c> If</c><00:06:46.920><c> an</c>

00:06:47.030 --> 00:06:47.040 align:start position:0%
eligible for one turn only. If an
 

00:06:47.040 --> 00:06:49.830 align:start position:0%
eligible for one turn only. If an
opposing<00:06:47.640><c> pawn</c><00:06:48.200><c> selects</c><00:06:48.840><c> that</c><00:06:49.080><c> square</c><00:06:49.520><c> on</c><00:06:49.640><c> its</c>

00:06:49.830 --> 00:06:49.840 align:start position:0%
opposing pawn selects that square on its
 

00:06:49.840 --> 00:06:51.750 align:start position:0%
opposing pawn selects that square on its
next<00:06:50.120><c> move,</c><00:06:50.480><c> the</c><00:06:50.560><c> game</c><00:06:50.840><c> treats</c><00:06:51.120><c> it</c><00:06:51.200><c> as</c><00:06:51.320><c> a</c><00:06:51.400><c> valid</c>

00:06:51.750 --> 00:06:51.760 align:start position:0%
next move, the game treats it as a valid
 

00:06:51.760 --> 00:06:54.070 align:start position:0%
next move, the game treats it as a valid
capture<00:06:52.280><c> and</c><00:06:52.480><c> removes</c><00:06:52.960><c> the</c><00:06:53.080><c> pawn</c><00:06:53.600><c> that</c><00:06:53.760><c> moved</c>

00:06:54.070 --> 00:06:54.080 align:start position:0%
capture and removes the pawn that moved
 

00:06:54.080 --> 00:06:55.750 align:start position:0%
capture and removes the pawn that moved
two<00:06:54.280><c> squares.</c><00:06:54.880><c> If</c><00:06:55.000><c> the</c><00:06:55.080><c> capture</c><00:06:55.440><c> doesn't</c>

00:06:55.750 --> 00:06:55.760 align:start position:0%
two squares. If the capture doesn't
 

00:06:55.760 --> 00:06:57.150 align:start position:0%
two squares. If the capture doesn't
happen<00:06:56.000><c> immediately,</c><00:06:56.520><c> then</c><00:06:56.920><c> that</c>

00:06:57.150 --> 00:06:57.160 align:start position:0%
happen immediately, then that
 

00:06:57.160 --> 00:06:58.710 align:start position:0%
happen immediately, then that
opportunity<00:06:57.680><c> disappears.</c><00:06:58.400><c> So,</c><00:06:58.560><c> at</c><00:06:58.600><c> this</c>

00:06:58.710 --> 00:06:58.720 align:start position:0%
opportunity disappears. So, at this
 

00:06:58.720 --> 00:07:00.510 align:start position:0%
opportunity disappears. So, at this
point,<00:06:59.000><c> I</c><00:06:59.040><c> was</c><00:06:59.200><c> 90%</c><00:06:59.720><c> of</c><00:06:59.760><c> the</c><00:06:59.800><c> way</c><00:06:59.960><c> there.</c><00:07:00.320><c> All</c><00:07:00.480><c> I</c>

00:07:00.510 --> 00:07:00.520 align:start position:0%
point, I was 90% of the way there. All I
 

00:07:00.520 --> 00:07:02.350 align:start position:0%
point, I was 90% of the way there. All I
had<00:07:00.680><c> to</c><00:07:00.760><c> do</c><00:07:01.160><c> was</c><00:07:01.400><c> figure</c><00:07:01.680><c> out</c><00:07:01.840><c> how</c><00:07:01.920><c> to</c><00:07:02.000><c> prevent</c>

00:07:02.350 --> 00:07:02.360 align:start position:0%
had to do was figure out how to prevent
 

00:07:02.360 --> 00:07:04.350 align:start position:0%
had to do was figure out how to prevent
the<00:07:02.480><c> little</c><00:07:02.840><c> old</c><00:07:03.040><c> king</c><00:07:03.680><c> from</c><00:07:03.920><c> moving</c><00:07:04.240><c> to</c>

00:07:04.350 --> 00:07:04.360 align:start position:0%
the little old king from moving to
 

00:07:04.360 --> 00:07:05.950 align:start position:0%
the little old king from moving to
illegal<00:07:04.720><c> squares</c><00:07:05.160><c> when</c><00:07:05.280><c> it</c><00:07:05.360><c> was</c><00:07:05.480><c> in</c><00:07:05.600><c> check.</c>

00:07:05.950 --> 00:07:05.960 align:start position:0%
illegal squares when it was in check.
 

00:07:05.960 --> 00:07:08.030 align:start position:0%
illegal squares when it was in check.
You<00:07:06.040><c> see,</c><00:07:06.320><c> actual</c><00:07:06.840><c> chess</c><00:07:07.160><c> games</c><00:07:07.480><c> online,</c><00:07:07.920><c> they</c>

00:07:08.030 --> 00:07:08.040 align:start position:0%
You see, actual chess games online, they
 

00:07:08.040 --> 00:07:09.830 align:start position:0%
You see, actual chess games online, they
won't<00:07:08.200><c> even</c><00:07:08.360><c> let</c><00:07:08.560><c> you</c><00:07:08.680><c> make</c><00:07:08.920><c> that</c><00:07:09.120><c> mistake.</c><00:07:09.760><c> If</c>

00:07:09.830 --> 00:07:09.840 align:start position:0%
won't even let you make that mistake. If
 

00:07:09.840 --> 00:07:11.390 align:start position:0%
won't even let you make that mistake. If
the<00:07:09.920><c> king</c><00:07:10.160><c> is</c><00:07:10.280><c> in</c><00:07:10.400><c> check</c><00:07:10.680><c> and</c><00:07:10.800><c> you</c><00:07:10.880><c> try</c><00:07:11.040><c> to</c><00:07:11.160><c> move</c>

00:07:11.390 --> 00:07:11.400 align:start position:0%
the king is in check and you try to move
 

00:07:11.400 --> 00:07:12.990 align:start position:0%
the king is in check and you try to move
him<00:07:11.560><c> to</c><00:07:11.720><c> a</c><00:07:11.760><c> square</c><00:07:12.080><c> that's</c><00:07:12.280><c> still</c><00:07:12.480><c> attacked,</c>

00:07:12.990 --> 00:07:13.000 align:start position:0%
him to a square that's still attacked,
 

00:07:13.000 --> 00:07:14.790 align:start position:0%
him to a square that's still attacked,
the<00:07:13.040><c> game</c><00:07:13.200><c> will</c><00:07:13.280><c> just</c><00:07:13.560><c> go,</c><00:07:14.040><c> "Nope.</c><00:07:14.600><c> You</c><00:07:14.680><c> don't</c>

00:07:14.790 --> 00:07:14.800 align:start position:0%
the game will just go, "Nope. You don't
 

00:07:14.800 --> 00:07:16.430 align:start position:0%
the game will just go, "Nope. You don't
get<00:07:14.880><c> to</c><00:07:15.040><c> oops</c><00:07:15.320><c> your</c><00:07:15.480><c> way</c><00:07:15.640><c> into</c><00:07:15.880><c> losing</c><00:07:16.320><c> in</c>

00:07:16.430 --> 00:07:16.440 align:start position:0%
get to oops your way into losing in
 

00:07:16.440 --> 00:07:18.070 align:start position:0%
get to oops your way into losing in
chess."<00:07:17.000><c> It</c><00:07:17.080><c> won't</c><00:07:17.200><c> even</c><00:07:17.360><c> allow</c><00:07:17.640><c> you</c><00:07:17.760><c> to</c><00:07:17.880><c> make</c>

00:07:18.070 --> 00:07:18.080 align:start position:0%
chess." It won't even allow you to make
 

00:07:18.080 --> 00:07:19.990 align:start position:0%
chess." It won't even allow you to make
an<00:07:18.160><c> illegal</c><00:07:18.560><c> move</c><00:07:18.800><c> in</c><00:07:18.880><c> the</c><00:07:18.960><c> first</c><00:07:19.200><c> place.</c><00:07:19.760><c> And</c>

00:07:19.990 --> 00:07:20.000 align:start position:0%
an illegal move in the first place. And
 

00:07:20.000 --> 00:07:21.030 align:start position:0%
an illegal move in the first place. And
I<00:07:20.080><c> really</c><00:07:20.280><c> thought</c><00:07:20.480><c> this</c><00:07:20.600><c> was</c><00:07:20.720><c> going</c><00:07:20.840><c> to</c><00:07:20.880><c> be</c>

00:07:21.030 --> 00:07:21.040 align:start position:0%
I really thought this was going to be
 

00:07:21.040 --> 00:07:23.310 align:start position:0%
I really thought this was going to be
one<00:07:21.240><c> more</c><00:07:21.440><c> little</c><00:07:21.680><c> solve.</c><00:07:22.440><c> It</c><00:07:22.600><c> wasn't.</c><00:07:23.120><c> I</c><00:07:23.200><c> had</c>

00:07:23.310 --> 00:07:23.320 align:start position:0%
one more little solve. It wasn't. I had
 

00:07:23.320 --> 00:07:25.350 align:start position:0%
one more little solve. It wasn't. I had
to<00:07:23.440><c> rework</c><00:07:23.800><c> my</c><00:07:23.960><c> whole</c><00:07:24.400><c> movement</c><00:07:24.880><c> system</c><00:07:25.240><c> to</c>

00:07:25.350 --> 00:07:25.360 align:start position:0%
to rework my whole movement system to
 

00:07:25.360 --> 00:07:26.990 align:start position:0%
to rework my whole movement system to
get<00:07:25.405><c> [music]</c><00:07:25.480><c> this</c><00:07:25.680><c> working.</c><00:07:26.160><c> You</c><00:07:26.280><c> see,</c><00:07:26.840><c> up</c>

00:07:26.990 --> 00:07:27.000 align:start position:0%
get [music] this working. You see, up
 

00:07:27.000 --> 00:07:28.430 align:start position:0%
get [music] this working. You see, up
until<00:07:27.240><c> this</c><00:07:27.440><c> point,</c><00:07:27.800><c> I</c><00:07:27.880><c> was</c><00:07:28.040><c> checking</c><00:07:28.320><c> if</c><00:07:28.400><c> a</c>

00:07:28.430 --> 00:07:28.440 align:start position:0%
until this point, I was checking if a
 

00:07:28.440 --> 00:07:29.980 align:start position:0%
until this point, I was checking if a
piece<00:07:28.800><c> was</c><00:07:28.920><c> allowed</c><00:07:29.280><c> to</c><00:07:29.400><c> move</c><00:07:29.680><c> to</c><00:07:29.800><c> a</c><00:07:29.840><c> square</c>

00:07:29.980 --> 00:07:29.990 align:start position:0%
piece was allowed to move to a square
 

00:07:29.990 --> 00:07:32.070 align:start position:0%
piece was allowed to move to a square
[music]<00:07:30.480><c> after</c><00:07:30.880><c> the</c><00:07:31.040><c> user</c><00:07:31.400><c> selected</c><00:07:31.880><c> it.</c>

00:07:32.070 --> 00:07:32.080 align:start position:0%
[music] after the user selected it.
 

00:07:32.080 --> 00:07:34.350 align:start position:0%
[music] after the user selected it.
Like,<00:07:32.440><c> click</c><00:07:32.640><c> a</c><00:07:32.720><c> piece,</c><00:07:33.280><c> click</c><00:07:33.480><c> a</c><00:07:33.560><c> square,</c><00:07:34.240><c> and</c>

00:07:34.350 --> 00:07:34.360 align:start position:0%
Like, click a piece, click a square, and
 

00:07:34.360 --> 00:07:36.030 align:start position:0%
Like, click a piece, click a square, and
then<00:07:34.560><c> run</c><00:07:34.760><c> a</c><00:07:34.800><c> bunch</c><00:07:35.040><c> of</c><00:07:35.120><c> logic</c><00:07:35.480><c> that</c><00:07:35.600><c> decides</c>

00:07:36.030 --> 00:07:36.040 align:start position:0%
then run a bunch of logic that decides
 

00:07:36.040 --> 00:07:38.110 align:start position:0%
then run a bunch of logic that decides
if<00:07:36.160><c> that</c><00:07:36.360><c> move</c><00:07:36.560><c> is</c><00:07:36.680><c> valid.</c><00:07:37.160><c> That</c><00:07:37.320><c> works</c><00:07:37.560><c> fine</c>

00:07:38.110 --> 00:07:38.120 align:start position:0%
if that move is valid. That works fine
 

00:07:38.120 --> 00:07:39.710 align:start position:0%
if that move is valid. That works fine
until<00:07:38.560><c> you</c><00:07:38.640><c> introduce</c><00:07:39.000><c> the</c><00:07:39.080><c> king.</c><00:07:39.520><c> Because</c>

00:07:39.710 --> 00:07:39.720 align:start position:0%
until you introduce the king. Because
 

00:07:39.720 --> 00:07:41.910 align:start position:0%
until you introduce the king. Because
now<00:07:40.040><c> it's</c><00:07:40.200><c> not</c><00:07:40.400><c> enough</c><00:07:40.640><c> to</c><00:07:40.720><c> just</c><00:07:41.040><c> ask,</c><00:07:41.720><c> "Can</c>

00:07:41.910 --> 00:07:41.920 align:start position:0%
now it's not enough to just ask, "Can
 

00:07:41.920 --> 00:07:44.150 align:start position:0%
now it's not enough to just ask, "Can
the<00:07:42.000><c> king</c><00:07:42.320><c> move</c><00:07:42.600><c> to</c><00:07:42.720><c> this</c><00:07:43.000><c> square?"</c><00:07:43.720><c> You</c><00:07:43.880><c> also</c>

00:07:44.150 --> 00:07:44.160 align:start position:0%
the king move to this square?" You also
 

00:07:44.160 --> 00:07:45.910 align:start position:0%
the king move to this square?" You also
have<00:07:44.280><c> to</c><00:07:44.400><c> ask,</c><00:07:44.800><c> "Is</c><00:07:44.960><c> that</c><00:07:45.120><c> square</c><00:07:45.360><c> attacked?"</c>

00:07:45.910 --> 00:07:45.920 align:start position:0%
have to ask, "Is that square attacked?"
 

00:07:45.920 --> 00:07:47.750 align:start position:0%
have to ask, "Is that square attacked?"
And<00:07:46.000><c> that's</c><00:07:46.160><c> not</c><00:07:46.360><c> simple.</c><00:07:46.800><c> So,</c><00:07:47.240><c> instead</c><00:07:47.600><c> of</c>

00:07:47.750 --> 00:07:47.760 align:start position:0%
And that's not simple. So, instead of
 

00:07:47.760 --> 00:07:49.710 align:start position:0%
And that's not simple. So, instead of
waiting<00:07:48.000><c> for</c><00:07:48.120><c> the</c><00:07:48.240><c> user</c><00:07:48.520><c> to</c><00:07:48.640><c> click</c><00:07:48.920><c> a</c><00:07:48.960><c> square</c>

00:07:49.710 --> 00:07:49.720 align:start position:0%
waiting for the user to click a square
 

00:07:49.720 --> 00:07:51.590 align:start position:0%
waiting for the user to click a square
and<00:07:49.920><c> then</c><00:07:50.160><c> checking</c><00:07:50.520><c> if</c><00:07:50.640><c> it's</c><00:07:50.760><c> legal,</c><00:07:51.280><c> I</c><00:07:51.400><c> made</c>

00:07:51.590 --> 00:07:51.600 align:start position:0%
and then checking if it's legal, I made
 

00:07:51.600 --> 00:07:54.070 align:start position:0%
and then checking if it's legal, I made
the<00:07:51.680><c> game</c><00:07:52.080><c> constantly</c><00:07:52.720><c> store</c><00:07:53.320><c> all</c><00:07:53.560><c> the</c><00:07:53.680><c> legal</c>

00:07:54.070 --> 00:07:54.080 align:start position:0%
the game constantly store all the legal
 

00:07:54.080 --> 00:07:56.430 align:start position:0%
the game constantly store all the legal
moves<00:07:54.480><c> for</c><00:07:54.680><c> every</c><00:07:54.960><c> piece</c><00:07:55.520><c> and</c><00:07:55.760><c> recalculate</c>

00:07:56.430 --> 00:07:56.440 align:start position:0%
moves for every piece and recalculate
 

00:07:56.440 --> 00:07:58.630 align:start position:0%
moves for every piece and recalculate
those<00:07:56.640><c> moves</c><00:07:57.080><c> after</c><00:07:57.480><c> every</c><00:07:57.800><c> move.</c><00:07:58.240><c> So,</c><00:07:58.320><c> I</c><00:07:58.400><c> used</c>

00:07:58.630 --> 00:07:58.640 align:start position:0%
those moves after every move. So, I used
 

00:07:58.640 --> 00:08:00.770 align:start position:0%
those moves after every move. So, I used
loops<00:07:59.040><c> within</c><00:07:59.360><c> loops</c><00:07:59.680><c> to</c><00:07:59.840><c> check</c><00:08:00.400><c> every</c><00:08:00.760><c> legal</c>

00:08:00.770 --> 00:08:00.780 align:start position:0%
loops within loops to check every legal
 

00:08:00.780 --> 00:08:02.990 align:start position:0%
loops within loops to check every legal
[music]<00:08:01.120><c> square</c><00:08:01.760><c> for</c><00:08:02.000><c> every</c><00:08:02.200><c> single</c><00:08:02.480><c> piece.</c>

00:08:02.990 --> 00:08:03.000 align:start position:0%
[music] square for every single piece.
 

00:08:03.000 --> 00:08:04.590 align:start position:0%
[music] square for every single piece.
So,<00:08:03.120><c> once</c><00:08:03.320><c> I</c><00:08:03.360><c> had</c><00:08:03.520><c> that,</c><00:08:03.720><c> I</c><00:08:03.760><c> could</c><00:08:03.920><c> finally</c><00:08:04.400><c> do</c>

00:08:04.590 --> 00:08:04.600 align:start position:0%
So, once I had that, I could finally do
 

00:08:04.600 --> 00:08:06.030 align:start position:0%
So, once I had that, I could finally do
the<00:08:04.680><c> king</c><00:08:04.920><c> check</c><00:08:05.160><c> the</c><00:08:05.280><c> right</c><00:08:05.480><c> way.</c><00:08:05.800><c> When</c><00:08:05.920><c> it's</c>

00:08:06.030 --> 00:08:06.040 align:start position:0%
the king check the right way. When it's
 

00:08:06.040 --> 00:08:08.110 align:start position:0%
the king check the right way. When it's
the<00:08:06.120><c> king's</c><00:08:06.360><c> turn,</c><00:08:06.840><c> every</c><00:08:07.200><c> possible</c><00:08:07.840><c> king</c>

00:08:08.110 --> 00:08:08.120 align:start position:0%
the king's turn, every possible king
 

00:08:08.120 --> 00:08:09.790 align:start position:0%
the king's turn, every possible king
move<00:08:08.320><c> gets</c><00:08:08.520><c> filtered</c><00:08:08.920><c> through</c><00:08:09.120><c> one</c><00:08:09.400><c> extra</c>

00:08:09.790 --> 00:08:09.800 align:start position:0%
move gets filtered through one extra
 

00:08:09.800 --> 00:08:12.070 align:start position:0%
move gets filtered through one extra
rule.<00:08:10.240><c> If</c><00:08:10.360><c> that</c><00:08:10.560><c> square</c><00:08:10.880><c> exists</c><00:08:11.520><c> in</c><00:08:11.640><c> the</c><00:08:11.800><c> enemy</c>

00:08:12.070 --> 00:08:12.080 align:start position:0%
rule. If that square exists in the enemy
 

00:08:12.080 --> 00:08:14.390 align:start position:0%
rule. If that square exists in the enemy
team's<00:08:12.600><c> legal</c><00:08:12.960><c> moves</c><00:08:13.440><c> dictionary,</c><00:08:14.160><c> then</c><00:08:14.280><c> it's</c>

00:08:14.390 --> 00:08:14.400 align:start position:0%
team's legal moves dictionary, then it's
 

00:08:14.400 --> 00:08:16.630 align:start position:0%
team's legal moves dictionary, then it's
illegal.<00:08:14.960><c> That</c><00:08:15.240><c> meant</c><00:08:15.520><c> that</c><00:08:15.640><c> the</c><00:08:15.720><c> king</c><00:08:16.360><c> can't</c>

00:08:16.630 --> 00:08:16.640 align:start position:0%
illegal. That meant that the king can't
 

00:08:16.640 --> 00:08:18.230 align:start position:0%
illegal. That meant that the king can't
walk<00:08:16.840><c> into</c><00:08:17.000><c> check.</c><00:08:17.440><c> The</c><00:08:17.520><c> king</c><00:08:17.720><c> can't</c><00:08:17.960><c> stay</c><00:08:18.160><c> in</c>

00:08:18.230 --> 00:08:18.240 align:start position:0%
walk into check. The king can't stay in
 

00:08:18.240 --> 00:08:20.110 align:start position:0%
walk into check. The king can't stay in
check,<00:08:18.640><c> and</c><00:08:18.840><c> the</c><00:08:18.920><c> game</c><00:08:19.240><c> won't</c><00:08:19.520><c> let</c><00:08:19.760><c> you</c><00:08:19.840><c> make</c><00:08:20.080><c> a</c>

00:08:20.110 --> 00:08:20.120 align:start position:0%
check, and the game won't let you make a
 

00:08:20.120 --> 00:08:22.670 align:start position:0%
check, and the game won't let you make a
move<00:08:20.440><c> that</c><00:08:20.680><c> leaves</c><00:08:20.960><c> your</c><00:08:21.120><c> king</c><00:08:21.560><c> exposed.</c><00:08:22.560><c> And</c>

00:08:22.670 --> 00:08:22.680 align:start position:0%
move that leaves your king exposed. And
 

00:08:22.680 --> 00:08:24.550 align:start position:0%
move that leaves your king exposed. And
when<00:08:22.800><c> I</c><00:08:22.880><c> finally</c><00:08:23.120><c> got</c><00:08:23.320><c> that</c><00:08:23.520><c> working,</c><00:08:24.200><c> I</c><00:08:24.400><c> could</c>

00:08:24.550 --> 00:08:24.560 align:start position:0%
when I finally got that working, I could
 

00:08:24.560 --> 00:08:26.150 align:start position:0%
when I finally got that working, I could
finally<00:08:24.840><c> say</c><00:08:25.000><c> it,</c><00:08:25.240><c> I</c><00:08:25.360><c> made</c><00:08:25.520><c> a</c><00:08:25.560><c> chess</c><00:08:25.800><c> game.</c>

00:08:26.150 --> 00:08:26.160 align:start position:0%
finally say it, I made a chess game.
 

00:08:26.160 --> 00:08:29.760 align:start position:0%
finally say it, I made a chess game.
Thank<00:08:26.320><c> you</c><00:08:26.400><c> for</c><00:08:26.520><c> watching.</c><00:08:27.120><c> Goodbye.</c>

