1
00:00:00,540 --> 00:00:01,110
Hey guys,

2
00:00:01,110 --> 00:00:05,610
welcome to Day 21 of 100 Days of Code. Today

3
00:00:05,610 --> 00:00:09,180
we're going to learn about class inheritance, slicing,

4
00:00:09,390 --> 00:00:12,840
and we're going to be finishing up our snake game. Today

5
00:00:12,870 --> 00:00:17,870
I wanted to introduce you to another really important concept in Object Oriented

6
00:00:18,420 --> 00:00:19,253
Programming,

7
00:00:19,350 --> 00:00:24,350
which is the idea that classes can inherit from other classes,

8
00:00:24,960 --> 00:00:27,480
inheriting attributes, inheriting methods,

9
00:00:27,720 --> 00:00:30,030
basically a way to make it simpler

10
00:00:30,180 --> 00:00:33,690
to modify classes and give them more capabilities.

11
00:00:34,290 --> 00:00:39,290
Now we're also going to be looking at how Python allows us to slice things like

12
00:00:39,600 --> 00:00:44,310
lists and dictionaries. And we're going to be looking at how we can do that.

13
00:00:44,880 --> 00:00:47,160
And once we've acquired all of these skills,

14
00:00:47,430 --> 00:00:52,260
then we'll be able to finish up our snake game and complete the last four

15
00:00:52,260 --> 00:00:56,490
stages. So detecting collision with food, creating a scoreboard,

16
00:00:56,550 --> 00:00:59,220
detecting collision with the wall and with the tail.

17
00:01:00,090 --> 00:01:04,050
Once you are ready, head over to the next lesson and let's get started learning

18
00:01:04,050 --> 00:01:05,489
about class inheritance.

