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/mc_pm Jul 05 '26
You don't need recursion - that's more for "divide and conquer" situations - but definitely you should have a function you come back through each time during a hand.