Академический Документы
Профессиональный Документы
Культура Документы
* Let’s be clear about something up front--if you go around getting legal advice from software engineers and something
goes wrong, you have nobody to blame but yourself.
The Math of Blackjack - by Ricky Walker
Most people know about blackjack from pop culture ...
… except there’s usually this part ...
The names of many of the characters and locations in this book have been
changed. Some of the events and characters are also composites of
several individual events or persons.
Basic probability theory enables you to derive basic strategy. Deriving card a
counting strategy is just an extension of deriving basic strategy.
Card counting involves almost no math and requires nothing more than rote
memorization and practice.
Misconception #2
Casinos don’t want you to know about card counting.
Misconception #2
Casinos don’t want you to know about card counting.
While it is true that casinos try to prevent skilled players from winning, they know
that card counting books and movies tend to increase their blackjack revenue.
The reason is because most players grossly underestimate the frequency and
severity of the errors they make.
Rough Agenda
We will assume that the probabilities of drawing a card is static for the
duration of a hand (a.k.a. -- infinite decks).
* Deriving basic strategy without this simplifying assumption is left as an exercise for the reader.**
** (... which is a euphemism for: “I’m not as smart as you think I am. Do the work for me so I can take the credit later.”)
Rough Agenda
The expected value of X is the weighted average of the expected values of each
outcome xi :
Example #1
What is the expected value a game where you roll a die and
win the face value of the die if it is 1-5, but lose 6 if you roll a 6?
What is the expected value of a game where 8 coins are flipped at the same time, and the
following payouts are given:
Drawing a 10 would give you 18, Drawing a 2 would give you 10, Drawing a 4 would give you 12,
making it obvious to stand ... making it obvious to hit ... making your next move unclear ...
… but the dealer has a 4, meaning the … but this means it is always possible … but our expected value number
dealer will have to draw multiple for the player to need to draw multiple must incorporate all future (and
cards. cards. potentially difficult) player decisions!
Our expected value must account for Our expected value must account for Our expected value must include all of
the dealer drawing a (potentially) the player drawing a (potentially) the player’s future decisions.
large number of cards. large number of cards.
Example #3
So how to we escape?
(Don’t look at the door)
Ace 2 3 Ten
...
Overlapping Sub-Problems
Overlapping sub-problems means that any recursive algorithm solving the problem
should solve the same sub-problems over and over.
...
Memoization
The expected value ... of standing ... when the dealer has M ...
Cool
Roadmap to the End: Five Tables
Unlike the dealer who plays according to fixed rules, the player can choose
their actions, so we another table to track this complication.
and
and
* We will pull our expected values from E[HSD] under the assumption that doubling after split is allowed. If this is not
allowed, we just pull expected values from E[HS] instead.
Calculating the expected value of splitting looks the same:
We multiply by 2 since we If we draw any card other than a 2, use a weighted average
have two hands which of the expected values, just as before.
doubles the outcome.
The problem is that when draw a 2, we’re back where we started. We need E[2,2]
in order to calculate E[2,2].
* dark magic
(First shorten our equation by
combining easy to calculate
values into the constant ‘k’)
To solve … it’s back to grade school ...
Distribute
Divide by (1-2Pr(2))
Voila.
Every hand vs. every dealer card. Not much more to say.
Last:
For every dealer / player card Multiply the expected value by the
combination likelihood of that starting hand (1/133)
Last:
Blackjack uses of a standard deck of cards. Every time a card is dealt, the
probability distribution changes.
(after 2 is dealt)
... ...
Since the expected value had not been calculated (and nobody knew how to
play correctly anyway), this inversion went mostly unnoticed.
Thorp outlined several counting strategies, but they are
based on the same observation:
High cards favor the player. Low cards favor the dealer.
Card counters leverage this by tracking whether the deck has more high cards
or low cards.
True or False?
Card counting requires you to track every card in the deck.
True or False?
Card counting requires you to track every card in the deck.
False. Not only is tracking every card in your head (probably) impossible, it is also
unnecessary.
Card counting strategies are about looking for favorable situations using the simplest
possible strategy. This involves tracking only one or two numbers.
True or False?
Card counting is illegal.
True or False?
Card counting is illegal.
False. As long as you are not changing the nature of the game, you cannot be arrested for
something you do entirely within your head.
True or False?
Casinos deal with card counters … harshly.
True or False?
Casinos deal with card counters … harshly.
False. MGM Resorts International owns ~10 casinos on the Las Vegas strip and reported
$5.9 Billion dollars in gaming revenue in 2017.
Casinos simply won’t risk losing their gambling license over one player. They will ban card
counters (and have them arrested for trespassing if they return), but that’s about it.
Example: The Hi-Lo Counting System
These points are added together to get a “Running Count.” In this way, we
know the ratio of high cards to low cards.
The problem is that running count does a poor job approximating probabilities:
2 decks 6 decks
~6 decks
How to Use the True Count
*Many books have been written about card counting and most of them eschew precise calculations in favor of computer
simulations. Not only is this easier, but usually gets better results as it does not require the use of simplifying assumptions.
Rough Agenda
The problem is that Blackjack has an extremely large variance (~1.3 vs the
expected value of -0.00343).
… except for the casino. Unlike players, the casino does play
enough hands for expected value to matter.
What the casino sees:
Player’s Outcome Casino’s Outcome
This apparent paradox between the player’s experience and the casino’s experience
explains why people will stand in the shadow of a multi-billion dollar casino complex
and swear they made money off the casino.
True! (but misleading). There have been a large number of MIT blackjack teams since
1970, but “The MIT Blackjack Team” is usually a reference to Strategic Initiatives, a
limited partnership founded in 1992 that hired students from MIT and Harvard to count
cards.
How did they do it?
To understand how they succeeded, you have to look at what they did that
was different from what is portrayed in the movies.
Difference #1
The students were (in effect) employees, and they treated Blackjack like a job.
Difference #2
The information in these forms was constantly checked to ensure that all
results fell within the expected range of outcomes.
Difference #3
The managers of SI were well aware of the Law of Large Numbers, and by
utilizing a large number of players, were able to remove much of the
uncertainty one typically experiences when playing blackjack.
If you’re interested in the story of the MIT Blackjack Team, watch the
documentary, Breaking Vegas--The True Story of the MIT Blackjack Team.
Questions?