Getting Ready: Online Blackjack Game
Understand the online Blackjack game problem and learn the questions to further simplify this problem.
Problem definition
Blackjack is one of the most played games in casinos. In this game, several players play against the dealer. The objective of the game is to get closer to 21 than the dealer without exceeding the 21 points. This game is played with a deck of cards. Each card has a specific value associated with it, and these values are compared. The value of an ace card can be 1 or 11 points while cards of 10, Jack, Queen, and King value 10 points. Whereas, cards 2-9 have the same values as the number written on them. Hence, the player having one ace and a face card (King, Queen, or Jack card.) or a 10 card has 21 points. This is called Blackjack.
At the start of the ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy