WEBVTT

0
00:00.290 --> 00:02.090
Hey, it's Angela here.

1
00:02.120 --> 00:05.660
Congratulations on making it through the first ten days.

2
00:05.660 --> 00:09.110
Today, I've got something very special lined up for you,

3
00:09.140 --> 00:11.690
our first capstone project.

4
00:12.470 --> 00:18.560
Today we'll challenge you to apply everything you've learned so far into one big project.

5
00:18.560 --> 00:23.720
You're going to need to dig deep and apply all your Python skills for this capstone project,

6
00:23.720 --> 00:28.340
but by the end of the day, you'll have built an awesome Blackjack game to enjoy.

7
00:28.730 --> 00:33.230
This is probably going to be one of the hardest things you'll build yet, but at the same time, the

8
00:33.230 --> 00:36.260
end result is also going to be the most fun.

9
00:36.830 --> 00:43.460
The final project you're going to be building is Blackjack. And if you head over to 247blackjack.com,

10
00:43.460 --> 00:51.920
or search for any other free online blackjack game, you can hit Play, and you can click Deal for

11
00:51.920 --> 00:53.810
the dealer to give you some cards.

12
00:53.840 --> 00:55.570
The game is really simple.

13
00:55.570 --> 01:02.530
Essentially, you're trying to get as close to 21 as possible, and all of the cards which have a Jack,

14
01:02.560 --> 01:05.740
a Queen, or a King count as 10.

15
01:05.740 --> 01:12.130
So you're adding these two cards up, 5 + 10 = 15, and you're trying to figure out if you

16
01:12.130 --> 01:14.290
can risk getting another card.

17
01:14.290 --> 01:18.640
So I'm going to click Hit and I'm going to get one other card,

18
01:18.640 --> 01:21.130
but that takes me over 21,

19
01:21.130 --> 01:23.200
and so the Dealer Wins!

20
01:23.980 --> 01:26.680
So this is the game that we're trying to create.

21
01:26.800 --> 01:29.950
This is what your version of Blackjack is going to look like.

22
01:29.980 --> 01:34.660
Now the user interface is a little bit simpler, but it's just as fun to play with.

23
01:34.690 --> 01:38.050
So our first two cards are a 9 and a 10,

24
01:38.050 --> 01:41.770
and it also shows us one of the computer's cards.

25
01:42.400 --> 01:45.660
Now I'm already on 19, 10 + 9,

26
01:45.690 --> 01:51.810
I'm close to going over 21, so I'm going to type 'n' and end the game right there.

27
01:51.840 --> 01:58.920
I end on 19, the computer ends on 18, and because 19 is greater than 18, that means I win.

28
01:59.280 --> 02:01.410
Have a go at playing the final game,

29
02:01.410 --> 02:07.200
but once you're ready, head over to the next lesson so that we can actually build this game ourselves.

30
02:07.200 --> 02:09.900
For all of that and more, I'll see you on the next lesson.

31
02:09.900 --> 02:10.800
Have fun.