DEV Community

Cover image for Relearning CompSci: Blackjack in Python
treybrown19
treybrown19 Subscriber

Posted on

Relearning CompSci: Blackjack in Python

For years I spent hours on computers in the school computer labs learning every language I could figure out how to grasp; HTML, Javascript, CSS, and Python to name a few. I did get stuck in the tutorial loop a bit, and didn't realize that I was right around the corner from really understanding what I was doing. I felt like I was making progress, but there's only so much you can learn when you're just copying and pasting what someone else is telling you to do online.

Enter: Codecademy.

Later in life, I'm working full time and when thinking about what I would love to do with my life, I think back to the days in the computer lab. Getting excited about solving problems and creating new things. So, now I'm putting in the work to teach myself again. Starting with the Computer Science course at Codecademy, I'm going to create a living income on the side by starting my own software development company.

For this project, I decided to create a terminal version of the game, Blackjack.

After doing some research online for the official rules for Blackjack, and my course studies so far with Codecademy, I was able to recreate the game fairly quickly. I'm excited to come back to this soon after some more learning and create a true GUI to support the logic I've built here.

Check out my Git

Top comments (2)

Collapse
 
lylaex profile image
Lylaex

I came across this older discussion and wanted to add that projects like this are great chances to practice breaking problems into small pieces. If you still have the code, have you thought about adding betting or splitting hands? Those can be fun next steps without getting too heavy. Would love to hear how the project has grown since you first posted it.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.