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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply