DEV Community

ajmikolaj
ajmikolaj

Posted on

Just finished my first game!

I finally wrote my first game on Python. I learned a lot during the process -- lots of bugs to work out, lots of small details to sort through.

I started with the idea of writing code to play Blackjack, but I wanted to make it more interesting, so I made sure there was code to allow for splitting, doubling down, buying insurance, etc. That also meant I had to write code for managing wagers. Obviously, it's all fake money, but still fun!

There is still a lot to learn, but I feel pretty good for only starting to code 4 1/2 weeks ago!

Here is a link to the code and an image below.
Code

Image description

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt

Hey 👋🏼

This looks like a good post here. Can you share this in full on DEV?

DEV generally asks that folks share their posts in full if possible and there is tooling provided to make it so that it's relatively easy to repost from outside blogs.

Hope you'll consider sharing the full post going forward.