Super Simple Python: Generate a Deck of Cards

  Рет қаралды 11,123

Yujian Tang

Yujian Tang

Күн бұрын

The Super Simple Python Series is meant to be a primer on Python. These projects will get you familiar with the language and some of its libraries.
Link to Generate Deck of Cards blog post - pythonalgos.co...
For more information checkout pythonalgos.com
Join the Discord! - / discord

Пікірлер: 19
@noahtah1511
@noahtah1511 Жыл бұрын
thank you for this! i'm working on a blackjack project for class and didn't know how to approach the deck of cards, this will help!
@datbeef7023
@datbeef7023 3 жыл бұрын
This was a nice little project to practice some python basics, thanks!
@yujiantang
@yujiantang 2 жыл бұрын
Glad to be of help! Check out PythonAlgos.com for more stuff :)
@Jmvars
@Jmvars Жыл бұрын
I managed to create a deck and to even shuffle the deck! Now I just need to figure out how to deal the cards out to multiple players and I'm one step closer to making a card game.
@yujiantang
@yujiantang Жыл бұрын
just checking in - how is that card game going?
@loopingmoon1444
@loopingmoon1444 5 ай бұрын
As a starting Python enthusiast, I find myself annoyed at " 's because they stop my flow of typing. What keys do you use to get out of them after typing a string? Really enjoying the video, taking my time to really understand Classes. Thanks!
@im_wander
@im_wander 2 жыл бұрын
Short & simple. Thanks
@yujiantang
@yujiantang 2 жыл бұрын
Awesome, glad to be of help!
@pickle6163
@pickle6163 7 ай бұрын
I know this an old video, would it be possible to change the code a bit to work with "Deck Builder" type game instead of just a standard deck
@yujiantang
@yujiantang 7 ай бұрын
yeah, just replace the cards
@gitaralang
@gitaralang 2 жыл бұрын
Thanks for the vid good help for us beginners. Can I ask what is the empty card list for? Thanks!
@yujiantang
@yujiantang 2 жыл бұрын
Hi Benedict, great question. It's so that we have an object to insert the cards that we are creating into!
@smillsmagsmillicent1523
@smillsmagsmillicent1523 Жыл бұрын
hi! great video! what extension do you use to color code everything?
@yujiantang
@yujiantang Жыл бұрын
haha i think it's dracula
@DivyaVasupallo
@DivyaVasupallo Жыл бұрын
Write a program by using class and methods to show winner if below scenario pass in deck of cards. King of Spade, Queen of Heart King of Heart, Queen of Diamond King of Diamond, Queen of Club King of Club, Queen of Spade Hint: Input should be two digit like (2,5), if 2= King of Spade and 5= Queen of Heart then person is the winner. can u help me with this scenario
@jameskim6442
@jameskim6442 7 ай бұрын
Ace is both highest and lowest in most games of poker and black jack.
@corbinsbeats2540
@corbinsbeats2540 2 жыл бұрын
I do not know what happen honestly
@FelipeCampelo0
@FelipeCampelo0 2 жыл бұрын
lol you type so fast
@yujiantang
@yujiantang 2 жыл бұрын
lol thanks! i developed my typing speed from playing too much league of legends as a high schooler 🤣
Super Simple Python: Prime Factorization
3:50
Yujian Tang
Рет қаралды 8 М.
Python OOP - Deck of Cards
17:14
Executed Binary
Рет қаралды 159 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Build ANYTHING With AI Agents For FREE! (DeepSeek-R1 Beats ChatGPT)
21:43
Learn Python Classes With a Text-Based Battle - OOP Tutorial
15:25
Ork Slayer Gamedev
Рет қаралды 163 М.
I Animated VIDEOGAME Icons in Blender 3D
17:59
bytedozer
Рет қаралды 617
Python As Fast as Possible - Learn Python in ~75 Minutes
1:19:41
Tech With Tim
Рет қаралды 1,9 МЛН
Gemini 2.0 Pro
17:41
Prompt Engineering
Рет қаралды 31 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН