D82 #100DaysOfCode

D82 #100DaysOfCode I’m trying to make a deck of cards that I can then use for something like Black Jack vs PC. It seems easy but I don’t think it’s going to be.

Read Time43Seconds

These last few days I have just been playing around with some core fundamentals of Python, I realized I was kinda getting distracted by these projects and losing focus on the core concepts.

I’ve been playing around with making a deck of cards, with the idea being you can’t get the exact same card again, and eventually, the deck would be empty.

I think it would be pretty fun to implement this as then I can use it for a few games like Black Jack vs PC and I could even bring in a few other computers to play against.

At the moment I’m trying to figure out the best way to create a deck without having to type out every single card and colour, that would be an easy way to stop duplicate cards but seems a bit lengthy.

Let’s see how it goes 🙂

0 0
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleppy
Sleppy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Leave a Reply

Your email address will not be published. Required fields are marked *

Close