Blackjack
Blackjack
Class – XI
(Project)
Title : A simple version of the card game Blackjack
There can be 1 to 4 players and a dealer in the game. Play should use the
following procedure.
1. Each player is dealt 2 cards. The dealer is dealt 2 cards with one face-up
2. Player: The player should play their entire turn before the dealer.
a. The player should calculate the value of their hand (the sum of the card values) and make a
decision whether to "Hit", which means to add another card to his/her hand, or to "Stand", which
means to stop taking cards.
b. If the player Hits, there is a possibility that the player will go over 21. In that case, the game is over
and the player loses. If not, then the process continues. The player gets to decide again whether to
Hit or Stand.
3. Dealer : If the player Stands, the dealer gets a chance to draw cards.
NOTE: In a muti player game, the dealer will go around the players until each one decides to stand.
He then plays his own hand, which determines the outcome of the game
a. The dealer only follows rules, without any choice. The rule is that as long as the value of the
dealer's hand(total of cards value) is less than or equal to 16, the dealer Hits (that is, takes another
card).
b. The player should see all the dealer's cards at this point. Now, the winner can be determined: If
the dealer has gone over 21, the player wins. Otherwise, if the dealer's total is greater than or equal
to the player's total, then the dealer wins. Otherwise, the player wins.
Value of the cards. In Blackjack, each card has a value that remains constant throughout the game.
The goal is to beat the dealer and also not bust with a 22 or more. Here are their values:
• Ace: Either 1 or 11. It is counted as 11 (...generally) unless it would put you over 21, in which case it
counts as 1.
Therefore, an ace and a ten card are 21 in two cards, which is Blackjack/Natural.
Your choices: There are two basic options when it's your turn:
• Hit: Get another card. You are able to hit until you go over 21.
• Stand: Keep your current cards and do nothing. You do not receive more cards.
In order to win, the player has to be closer to 21 than the dealer, without going over. If the player
goes over, he has "busted." If it's a tie, it's a "push" -- neither the player nor the dealer wins. A
blackjack is when your starting hand is an ace and 10, or face card. If the player has blackjack and the
dealer doesn't, the player automatically wins.