Create a simple blackjack game for repl.it using Javascript node. The game must have a function called
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a simple blackjack game for repl.it using Javascript node. The game must have a function called createDeck() to create an array on objects, the cards. Each object has a suit and a value. Create a function called shuffleDeck() that shuffles the cards. Have the code ask the user if they want to hit or stand and use recursion for the computer to decide if it should hit or stand. Display the score as well. The end input should look like this:
y Dealer: Five of Hearts and Ace of Hearts (6) Player: Six of Spades" v:shapes="Picture_x0020_120">
Posted Date: