Blackjack: Deal 'em Up

Blackjack is a card game which uses all 52 cards in the deck. Players are initially dealt two cards. The aim is for the sum of the two cards to get as close to 21 without going over.

We want to use our JavaScript skills to start building our Blackjack game over the next few weeks! Today's challenge has two sections.

First, we break down the early game play to figure out which JavaScript code we can use. We want to get you thinking like a programmer!

Second, we build the early stages of a blackjack game. You'll notice we focus on building the architecture first, then worry about the details of the game later.


If you're ready to move on, print in the console: "I'm ready to build a blackjack game!"