1
00:00:00,060 --> 00:00:02,960
Great job on making it this far into the course.

2
00:00:03,030 --> 00:00:06,840
You've made it to hangmen where we're going to be developing a hangman game.

3
00:00:06,840 --> 00:00:08,340
So that's a word guessing game.

4
00:00:08,610 --> 00:00:10,670
That's going to be all JavaScript.

5
00:00:10,920 --> 00:00:18,870
So generating all of the clickable letters that can be selected in order to guess the word, the written

6
00:00:18,870 --> 00:00:19,170
word.

7
00:00:19,620 --> 00:00:20,490
So this is a word.

8
00:00:20,490 --> 00:00:23,670
All we do, all we see is how many characters the word has.

9
00:00:23,940 --> 00:00:30,300
And we try to guess what the word is by clicking as few letters as possible.

10
00:00:30,520 --> 00:00:31,290
Let's check this out.

11
00:00:31,660 --> 00:00:38,220
So we've got our favorite start button to start the game hit start, and it generates using JavaScript,

12
00:00:38,220 --> 00:00:39,570
all of the letters.

13
00:00:39,570 --> 00:00:41,330
And then we've got a hidden word here.

14
00:00:41,610 --> 00:00:46,050
So until we get the right letters in the word, it's not going to fill this out.

15
00:00:46,260 --> 00:00:51,840
And you can kind of click through and I don't actually remember what the word is, but I guess it's

16
00:00:51,840 --> 00:00:53,010
Beeby is the word.

17
00:00:53,490 --> 00:00:56,940
So as soon as I got the B's, then I'm able to get the word.

18
00:00:57,060 --> 00:00:59,010
And I think this one is a little bit different.

19
00:00:59,020 --> 00:00:59,850
So AAA.

20
00:00:59,970 --> 00:01:04,440
So I wasn't really creative with the words, but they are coming from an array so you can adjust these

21
00:01:04,560 --> 00:01:10,500
and create your own words, which will make a much more exciting game than just having A, B, B and

22
00:01:10,500 --> 00:01:10,740
C.

23
00:01:11,310 --> 00:01:12,120
So try this in.
