WEBVTT

0
00:00.540 --> 00:01.110
Hey guys,

1
00:01.110 --> 00:05.610
welcome to Day 21 of 100 Days of Code. Today

2
00:05.610 --> 00:09.180
we're going to learn about class inheritance, slicing,

3
00:09.390 --> 00:12.840
and we're going to be finishing up our snake game. Today

4
00:12.870 --> 00:17.870
I wanted to introduce you to another really important concept in Object Oriented

5
00:18.420 --> 00:19.253
Programming,

6
00:19.350 --> 00:24.350
which is the idea that classes can inherit from other classes,

7
00:24.960 --> 00:27.480
inheriting attributes, inheriting methods,

8
00:27.720 --> 00:30.030
basically a way to make it simpler

9
00:30.180 --> 00:33.690
to modify classes and give them more capabilities.

10
00:34.290 --> 00:39.290
Now we're also going to be looking at how Python allows us to slice things like

11
00:39.600 --> 00:44.310
lists and dictionaries. And we're going to be looking at how we can do that.

12
00:44.880 --> 00:47.160
And once we've acquired all of these skills,

13
00:47.430 --> 00:52.260
then we'll be able to finish up our snake game and complete the last four

14
00:52.260 --> 00:56.490
stages. So detecting collision with food, creating a scoreboard,

15
00:56.550 --> 00:59.220
detecting collision with the wall and with the tail.

16
01:00.090 --> 01:04.050
Once you are ready, head over to the next lesson and let's get started learning

17
01:04.050 --> 01:05.490
about class inheritance.