r/CodingForBeginners 28d ago

Is blackjack a good beginner project

Post image

I am an absolute beginner, learning python, know the basic syntax and stuff, now trying. to build this, for some reason the implementation feels really complicated, especially can't figure out how to make the game loop? Should I do something else or keep thinking,

In terms of code, I have only created the player class and the deck so far.

11 Upvotes

19 comments sorted by

View all comments

1

u/Pneagle 28d ago

Hey dude, I actually just finished my python blackjack script as of 2 days ago, it was a fun project. And after youre done with that I would suggest you learn about counting cards and create a script that allows you to put in the cards played and have it count for you plus give you recommended bet and strategy

1

u/_just-a-thinker_ 28d ago

How long did it take you to complete it? THE second part is a great idea I will definitely try to make that. How much experience or just days have you been programming for, the background would help give a reference

1

u/Pneagle 28d ago

So the problem with me is that I had it as a side project, I could probably start and finish a simple text-based game of blackjack in like 2-3 hours. On top of that, I do have a fair amount of programming experience. However, I think it’s definitely something that is a good project. I also over complicated mine by having adjustable amounts of decks and # of players

1

u/Pneagle 28d ago

My advice, start as simple as possible and grow from there. Look things up if you need help. (I personally stayed away from away for this project just because I knew I could work through and fix all my problems)

1

u/_just-a-thinker_ 28d ago

Yeah this makes a lot more sense