blackjack
How do I make a variable made out of a string global in python?
I\'m trying to make a blackjack game. I\'ve made functions for drawing 开发者_高级运维cards and checking if sum in one\'s hand exceeds 21 but only for 3 players. That was easy I had 3 lists.[详细]
2023-04-08 23:42 分类:问答PHP Black Jack game; updating display
my first question on stackOverflow! Have read tons of useful tidbits on here, but haven\'t been able to find a useful answer to the following question.[详细]
2023-04-03 03:14 分类:问答BlackJack Algorithm
What is the general alogirthm for a BlackJack game ? I\'m writing one in c++ and end up having WAY too many if statements which ruin the whole thing.[详细]
2023-04-02 03:56 分类:问答Random Numbers in C++
I\'m creating a BlackJack Program. I want the cards to be randomly dealt. if i use the rand() function and initialize srand() to time(NULL) then all the cards turn out to be same. Any idea what the pr[详细]
2023-03-10 06:23 分类:问答What am I doing wrong blackjack file counter in Java?
I am doing this exercise, the exercise says this: *Given an input file containing 1000 random blackjack hands between 3 players (here: blackjack.txt), calculate the number of blackjacks encountered[详细]
2023-03-08 00:03 分类:问答question about else statement...blackjack in python
Python newbie here.I\'m trying to create a black jack game in which the user plays against the computer. I think where I\'m having trouble is with the if, elif statements here.What I want to know is,[详细]
2023-02-19 06:24 分类:问答BlackJack cards vector c++/random numbers
I followed some of the answers here on the site but I still have a problem: after I generate my vector of cards when I run the program the card numbers are totally off:[详细]
2023-02-05 07:06 分类:问答Getting an Ace value to represent a 1 or a 11
I\'m playing with some code for a blackjack program but I\'m having trouble finding a way to make the Ace be a 1 or an 11, like in real blackjack. This isn\'t homework. I\'m just getting back into pro[详细]
2023-01-28 01:52 分类:问答How to have a method pause and wait for input with Android?
Basically I have created a Blackjack app that uses several methods that get called and pass a long the information that is needed (about cards and actions).I have 2 buttons displayed on screen that ar[详细]
2023-01-22 05:25 分类:问答Python - Blackjack
def showCards(): #SUM sum = playerCards[0] + playerCards[1] #Print cards print \"Player\'s Hand: \" + str(playerCards) + \" : \" + \"sum\"[详细]
2023-01-02 16:00 分类:问答