Blackjack

For those of you that don’t know the game of blackjack, it is really quite simple. At the beginning of the game you are dealt two cards, and the dealer is dealt two cards. The numbers 2-10 are worth their face value, and the face cards are worth 10. For simplicity we will assume that aces are always worth eleven. The idea is to get 21 or as close to 21 as possible without going over. After you see your cards and the dealer’s cards you can either stay (called "holding") or take another card (in order to do this, you say "hit me" to the dealer"). The dealer will always take another card if he/she has less than 16 points. If at any time, you or the dealer go over 21, you "bust" and lose. If at any time you or the dealer gets 21 points, this is called blackjack and that person wins immediately. If both you and the dealer hold, the person with more points showing wins (as long as it is under 21). If both you and the dealer have the same result at the same time, no one wins. This is called a push or a draw. For starters you can assume that the deck of cards is infinitely large.

WB01624_.gif (281 bytes) Back to Assignment 4