Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hey, it's Angela here. Congratulations on making it through the
first 10 days. Today, I've got something very special lined up for you,
our first capstone project. Today
we'll challenge you to apply everything you've learned so far into one big
project.
You're going to need to dig deep and apply all your Python skills for this
capstone project. But by the end of the day,
you'll have built an awesome blackjack game to enjoy.
This is probably going to be one of the hardest things you'll build yet,
but at the same time, the end result is also going to be the most fun.
The final project you're going to be building is blackjack.
And if you had over to
247blackjack.com or search for any other free online blackjack game,
you can hit play and you can click deal for the dealer to give you some cards.
The game is really simple. Essentially
you're trying to get as close to 21 as possible and all of the cards which have
a Jack, a Queen, or a King count as 10.
So you're adding these two cards up 5 + 10 equals 15.
And you're trying to figure out if you can risk getting another card.
So I'm going to click hit, and I'm going to get one other card
but that takes me over 21 and so the dealer wins.
So this is the game that we're trying to create.
This is what your version of Blackjack is going to look like.
Now the user interface is a little bit simpler,
but it's just as fun to play with.
So our first two cards are a 9 and a 10,
and it also shows us one of the computers cards.
Now I'm already on 19,10 + 9.
I'm close to going over 21.
So I'm going to type 'n' and end the game right there.
I end on 19,
the computer ends on 18 and because 19 is greater than 18,
that means I win.
Have a go at playing the final game by going to black-jack-final.appbrewery.repl.run.
But once you're ready,
head over to the next lesson so that we can actually build this game ourselves.
For all of that and more, I'll see you on the next lesson. Have fun.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.