1
00:00:00,570 --> 00:00:04,110
Hey, it's Angela here. Congratulations on making it through the

2
00:00:04,190 --> 00:00:08,870
first 10 days. Today, I've got something very special lined up for you,

3
00:00:09,380 --> 00:00:13,100
our first capstone project. Today

4
00:00:13,140 --> 00:00:17,750
we'll challenge you to apply everything you've learned so far into one big

5
00:00:17,780 --> 00:00:18,613
project.

6
00:00:18,770 --> 00:00:22,670
You're going to need to dig deep and apply all your Python skills for this

7
00:00:22,670 --> 00:00:25,130
capstone project. But by the end of the day,

8
00:00:25,160 --> 00:00:28,040
you'll have built an awesome blackjack game to enjoy.

9
00:00:28,850 --> 00:00:31,610
This is probably going to be one of the hardest things you'll build yet,

10
00:00:31,880 --> 00:00:36,140
but at the same time, the end result is also going to be the most fun.

11
00:00:37,010 --> 00:00:40,130
The final project you're going to be building is blackjack.

12
00:00:40,640 --> 00:00:42,530
And if you had over to

13
00:00:42,530 --> 00:00:47,530
247blackjack.com or search for any other free online blackjack game,

14
00:00:48,380 --> 00:00:53,380
you can hit play and you can click deal for the dealer to give you some cards.

15
00:00:54,140 --> 00:00:56,150
The game is really simple. Essentially

16
00:00:56,150 --> 00:01:01,150
you're trying to get as close to 21 as possible and all of the cards which have

17
00:01:02,060 --> 00:01:05,720
a Jack, a Queen, or a King count as 10.

18
00:01:05,930 --> 00:01:10,130
So you're adding these two cards up 5 + 10 equals 15.

19
00:01:10,520 --> 00:01:14,090
And you're trying to figure out if you can risk getting another card.

20
00:01:14,570 --> 00:01:18,620
So I'm going to click hit, and I'm going to get one other card

21
00:01:18,830 --> 00:01:23,120
but that takes me over 21 and so the dealer wins.

22
00:01:24,260 --> 00:01:26,480
So this is the game that we're trying to create.

23
00:01:27,050 --> 00:01:29,870
This is what your version of Blackjack is going to look like.

24
00:01:30,200 --> 00:01:32,480
Now the user interface is a little bit simpler,

25
00:01:32,780 --> 00:01:34,640
but it's just as fun to play with.

26
00:01:34,820 --> 00:01:37,820
So our first two cards are a 9 and a 10,

27
00:01:38,480 --> 00:01:41,720
and it also shows us one of the computers cards.

28
00:01:42,560 --> 00:01:45,440
Now I'm already on 19,10 + 9.

29
00:01:45,980 --> 00:01:48,020
I'm close to going over 21.

30
00:01:48,350 --> 00:01:51,650
So I'm going to type 'n' and end the game right there.

31
00:01:52,160 --> 00:01:53,510
I end on 19,

32
00:01:53,540 --> 00:01:57,560
the computer ends on 18 and because 19 is greater than 18,

33
00:01:57,710 --> 00:01:58,730
that means I win.

34
00:01:59,600 --> 00:02:04,600
Have a go at playing the final game by going to black-jack-final.appbrewery.repl.run.

35
00:02:05,330 --> 00:02:06,710
But once you're ready,

36
00:02:06,770 --> 00:02:10,669
head over to the next lesson so that we can actually build this game ourselves.

37
00:02:10,970 --> 00:02:14,360
For all of that and more, I'll see you on the next lesson. Have fun.

