Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

my blackjack game functions very weird

hadthelad
hadthelad

so i made a blackjack game (not complete though) and some things work and others don't. if you know the rules black jack and how it works cool. so here is how its working so far (BTW it has no errors i'm just confused) so first off its supposed to give the dealer and the player 2 cards which is technically true with mine. but for some reason it only shows the dealers cards and not the players as shown here.

blackjack game 1

and another problem is that when i type hit it does its job of giving me a card. but the problem is it will usually give me 4 to 5 cards. i think the problem here is that it doesn't know the limit of how many cards are supposed to be appended.

so if anyone could help me solve these 2 problems that would be great thanks, BTW here is the code:

https://repl.it/@hadthelad/blackjack

3 years ago
You are viewing a single comment. View All
1