Currently, I'm attempting to make a very basic blackjack game that will also tell the player what is in their hand and what is in the computer's hand after each turn is taken.
if(y == 1){
acecomp = true;
comphand + "Ace";
}
else
My snippet of code looks like this, and obviously what i'm asking it to do isn't possible, otherwise i wouldn't be here. Is there any way that I can make the if/else statement add a word to the computer's hand?
Aucun commentaire:
Enregistrer un commentaire