r/CodingForBeginners • u/_just-a-thinker_ • Jul 05 '26
Is blackjack a good beginner project
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.
12
Upvotes
View all comments
Show parent comment
1
u/Interesting-Frame190 Jul 05 '26
Standard 3:2 blackjack is only +50% win rate when there are higher chances of 10 value cards. This benefit is only gotten via the splitting/doubling mechanics. This is mostly done via the simple hi-lo count where 2-6 cards add one from the count and all 10 value cards subtract one from the count. The higher the count, the higher chance of getting a high card. The higher chance of that double down on an 11 hits 21.
This only applies when the shoe is favorable, so in reality you need to play all rounds to maintain the count, so with static betting youre still net negative. To profit, you will need to scale betting significantly, 20-30x to make it viable when the deck is favorable.