Page 1 of 1

In Javascript, code a game of Blackjack from the PERSPECTIVE OF THE DEALER. The code should deal two cards, with the dea

Posted: Mon Jun 06, 2022 6:09 pm
by answerhappygod
In Javascript, code a game of Blackjack from the PERSPECTIVE OF
THE DEALER. The code should deal two cards, with the dealer hitting
if the card total is below 17. There should be an announcement of
the dealer's total and that they are hitting if this occurs. If the
total of the two cards is between 17 and 21, announce the total of
the two cards. If the total is over 21, announce that the dealer
busted. If the total consists of an ace and a card worth 10,
announce that blackjack has occured. The card deck values should be
populated with an array. The card values should be shown as
text
PLEASE INCLUDE CODE IN YOUR ANSWER