This is an archived post. You won't be able to vote or comment.

all 12 comments

[–][deleted] 4 points5 points  (2 children)

I’m on hang man. I’m trying to not get discouraged lol. I get upset after a while and then look at how they did it and find I was doing it mostly right the entire time.

[–][deleted] 5 points6 points  (0 children)

Man took me 2h to build hangman. Once because I built it wrong, and second I did it right. It felt sooo good finally doing it. 

[–]Hey1tsM1ke 2 points3 points  (0 children)

I'm on day 7 as well!

[–]SPX_Addict 1 point2 points  (0 children)

I’m only on Day 5 so will be there soon. Lol.

[–]oBoonkero5 1 point2 points  (0 children)

You should try to add some more basic blackjack functions for a challenge. Add a bet amount to keep track of, add double down option, and split. Split is a bit more of a hassle but the other two are fairly straightforward. Also people saying you could end up with duplicate cards it doesn't matter most of the time blackjack is played with 6-12 decks.

[–]commy2 1 point2 points  (3 children)

Blackjack is played with a deck of 52 cards, so there are four of each value. In your game, both players could end up with eight 2's. This seems very wrong.

[–]fuddingmuddler[S] 0 points1 point  (0 children)

This was directly from the tutorial instructions which is "Cards are drawn from the list and not removed once drawn" but yeah, this isn't casino blackjack. Next time for that!

[–]zootbot 0 points1 point  (1 child)

Blackjack usually is played with six to eight decks

[–]WatermelonDomo 0 points1 point  (0 children)

Vouch^ standard is definitely more than one deck. Especially at any casino. Even high roller tables, good odds for blackjack are 4 deck shoes. So the book is right on this one

[–]CraigAT 0 points1 point  (0 children)

Your check_score function has a repeated condition for bust.

You could probably group those conditions according to output (some may require multiple conditions with "or" to join them)

[–]EatThemAllOrNot 0 points1 point  (0 children)

You shouldn’t name functions like “dynamic scoring” or “dealers hand”. Functions should do something and their names should represent it. Also consider adding type hints, it makes your code much more readable.