1
00:00:00,310 --> 00:00:01,030
Hey guys,

2
00:00:01,030 --> 00:00:05,320
welcome to Day 7 of 100 Days of code.

3
00:00:06,010 --> 00:00:06,430
Now,

4
00:00:06,430 --> 00:00:11,430
today we have a whole day dedicated to a really cool project.

5
00:00:11,920 --> 00:00:16,810
And what we're going to be building throughout this day is basically Hangman or

6
00:00:16,810 --> 00:00:18,700
the code equivalent of this game.

7
00:00:19,180 --> 00:00:24,180
So the way the game works is you have to guess a word and for every wrong

8
00:00:24,250 --> 00:00:25,840
letter you submit,

9
00:00:26,200 --> 00:00:30,670
you end up taking a life away from this little man. And of course,

10
00:00:30,910 --> 00:00:32,680
the longer it takes you to get to the word,

11
00:00:32,920 --> 00:00:34,930
the more you put your little man in danger.

12
00:00:35,770 --> 00:00:39,250
This is what the final completed project is going to look like.

13
00:00:39,550 --> 00:00:43,420
We're going to have some really cool ASCII art like this hangman logo up here

14
00:00:43,840 --> 00:00:47,920
and it's going to ask us to guess or a letter. So let's try A,

15
00:00:48,700 --> 00:00:50,830
and you can see that's not in the word.

16
00:00:50,860 --> 00:00:55,180
So we lose a life and it starts drawing our little hangman.

17
00:00:55,240 --> 00:00:58,750
So let's try another letter, E. There's a lot of Es in there.

18
00:00:58,810 --> 00:01:01,870
So we managed to get that. Let's try a T,

19
00:01:03,460 --> 00:01:04,293
Right?

20
00:01:09,680 --> 00:01:14,270
And I think I know what the word is now just before my little man is going to

21
00:01:14,270 --> 00:01:18,200
die. I think it's beekeeper. There we go. We got it.

22
00:01:18,290 --> 00:01:20,840
So if we had lost just one more life,

23
00:01:21,140 --> 00:01:23,750
the leg would have been added and we would have lost,

24
00:01:23,780 --> 00:01:25,340
but we managed to get there in the end.

25
00:01:25,790 --> 00:01:29,270
So this is what the completed game looks like and how it plays out.

26
00:01:29,450 --> 00:01:34,450
And you can go over to the final URL and run the code and see it in action if

27
00:01:34,610 --> 00:01:37,280
you want to. But just by building this game,

28
00:01:37,280 --> 00:01:41,600
we're going to be able to review and test ourselves on a bunch of concepts that

29
00:01:41,600 --> 00:01:42,500
we've already covered,

30
00:01:42,740 --> 00:01:46,730
like for and while loops or if and else statements, lists,

31
00:01:46,760 --> 00:01:51,050
strings, the range, function, modules, and much, much more.

32
00:01:51,410 --> 00:01:54,710
So I hope you're as excited as I am to get started on this project,

33
00:01:55,010 --> 00:01:59,170
and once you already head over to the next lesson and let's begin.

