(I've been half-considering not starting to post this thread, but I want the world to share in the absolute joy I've found lately, namely, knowing that I'm retracing the steps of some of the greatest minds that have ever been - granted a bit off and to the left. Plus, the +EV that this series might make Post of the Month is non-trivial :)
* * * * *
IN MEMORIAM - Julian Braun, who helped to turn Thorp's work into the count I still use today.
* * * * *
There's been a reason MTV #3 has been a bit late. I've hardly done any playing - C casino has gone to half-decking all counters while they decide their fate. So, with time to kill, I stopped by one of my old stomping grounds. We'll call it "The Joint" (as in skeletal joint, not the drug!).
While I was at The Joint, I had a talk with one of the pitbosses whom we lovingly call "Scrabble Boy". This guy is amazing. You say "CHAINED", he says "ECHIDNA". You say "NOTICED", he says "CTENOID" and "DEONTIC".
Naturally, he's one of the only pit bosses with a clue. So, he comes and talks to me about one of the games they have there: Stook.
Stook is an off-shoot of blackjack under the following rules:
* Player makes initial wager, and receives one card.
* Player may then make an additional "raise" bet by a factor of 4, or a factor of 2 if his card is an ace, effectively pentupling or tripling his bet (with one exception).
* If the player raised on an ace, they receive only one more card. Otherwise, they receive a second card and play may proceed as normal blackjack, including double-down, splitting and surrendering.
* If the player raises, they lose all pushes from 17 to 19
(Bear in mind the dealer does NOT expose his hole card until the end!)
* 5 cards under beats any 21, and aces back-to-back (IE "Stook") beats anything - if the player has stook, they win automatically, even if the dealer has stook as well.
* Stook pays 2-1 up front and even money on the raise bet. All other wagers pay even money.
* Standard H17 dealer strategy is in effect, except the dealer stops at 5 cards under.
"BIG DEAL!", I say, expecting to hear "BAILED, BEGLAD, BILGED, GABLED..." but instead, he points out a few interesting points:
* You can surrender after your first two cards, even if you raise an ace(!). Now this is incorrect to do as basic strategy, since the dealer busts 28% of the time in BJ with a random upcard, and this should be close. However, in a high count..
* The dealer will *NOT* hit a 4-card soft hand of 18+, even if they are beaten and taking one more hit would win the round for the dealer. So, this makes me think that low counts with excess aces are bettable, including raising on a first 2 or 3 perhaps?
* They think the game is unbeatable. It's "The Idiot Game". That's challenge enough for me!
So, the question I'm faced with is this:
"WWTD?" - What Would Thorp Do?
The answer, of course, is "What Thorp Did".
And that's what I have to do.
* * *
The battle plan is simple. First, we get the computer to play hands. Lots and lots of hands. See if it follows strategy correctly, and tell me what happens.
I run 2 different 1 million hand sims on the dealer strategy, and get these promisingly similar results:
Dealer hand distribution for 1M hands:
SIM 1:
Bust: 28.2585%
17: 12.9682%
18: 13.6516%
19: 13.1803%
20: 17.6014%
21: 11.8033%
5 Card Charlie: 1.9826%
Stook: 0.5541%
Sim 2:
Bust: 28.1183%
17: 12.9703%
18: 13.7672%
19: 13.1643%
20: 17.6546%
21: 11.7882%
5 Card Charlie: 1.9767%
Stook: 0.5604%
This makes sense. The bust percentage and preponderance of 20s are both promising signs that I am on the right path. Just to be sure, I hand calculate the probability of a Stook off the top of a shoe as (16 * 15) / (208 * 207) = 0.5574%, so I'm trusting my program thus far.
Now, it's time to test the basic strategy included with the game. They give a house edge of -0.8% for the game, which should be nice and low. If it is, Stook may well be the only modern casino game ever invented with a house edge < 1%, given most are in the 5% order.
The basic strategy given by the promotional card is simple:
Only split 8s
Only double 10 or 11
Only raise a 10 or an ace
Hard hands:
2 or 3 cards: hit to 15
4 cards: hit to 17
Soft hands:
2 or 3 cards: hit to soft 18
4 cards: Hit
Gives the house edge as "0.8%, one of the lowest among casino games".
* * *
I run 50 hands and audit the proceedings, and test every rule branch. As an oversight, I *forgot* to include the "player busts first" rule. THAT would have been a big one, for sure! However, all is fixed up and looks good to go.
Now, time to run some simulation batches, and see what comes up. "Computer, please run 1M hands of player vs dealer, leaving me with the results."
Optimal basic strategy, 1M hands:
Final to Initial bet ratio: 2.33 to 1
EV: -0.8162%
The EV looks dead on! However, it's time to check for errors by comparing the other metric, the F-I bet ratio. In this case, it can be hand-calculated by upcard and summated. The easy ones:
Ace: 3:1
Ten: 5:1
2-9 are a little more tricky. If your second card gives you a hand totalling 10 or 11, you will double down. If you have 2-8, 2/13 cards will give you a doubling hand. If you have a 9, only the 2 will do, as an ace gives you a pat 20.
2-8: (2/13) * 2 + (1/13) * 11 = 1.15
9: (2/13) + (1/13) * 12 = 1.08
Weighted average = ((1*3) + (4*5) + (7*1.15) + (1*1.08)) / 13 = 2.47
Since this is a bit higher than I measured, I look over at my algorithm, and notice that, when calculating the "total action", it's not counting a double down as a doubled bet - that is, it is considering it only 1 unit of action instead of 2.
For this reason, I cannot stress enough having a calcuable product in your results for a check. If your measured and calculated results match, that's a good sign (but no guarantee!) that you are on the right path. However, if it they do not match, you know something must be up.
So, I fix the algorithm and run another million hands. The EV should be about the same, so this will be a nice check.
2nd Sim, 1M hands:
F-to-I: 2.47:1
EV: -0.5882.
Huh? Well, it's not unreasonable to imagine a game that involves pentupling your bet every third iteration having wild swings, but to still be 0.2 above EV after a million rounds? That seems odd. And, at least the F-to-I index is now correct, so I'm confident that things are going according to plan. Maybe the win/loss or the profit calculators are off - but why the wild disparity? I run an audit of 1,000 hands and it's accumulating the profit and action totals nicely. Extreme hands are going correctly, like 5 cards under losing to Stook, and a raised 18 loses to a dealer's 18. Depressingly enough, the player loses a raised 20 to 5 cards under in what appears to be a high count. All told, the player has a -5% result in these 1K hands, so maybe it's just 1M hands not being enough..? Time to try another sim:
3rd Sim, 1M hands:
F-to-I: 2.47:1
EV: -0.5708
The EV was -0.80 after 500,000 rounds! The EVs between the two trials are almost identical. A 4th 1M hand sim gives an EV of -0.4947, thanks to a lucky last batch of 100K.
As I'm sitting here kicking my own ass over and over, it dawns on me what the problem is. Since I corrected the definition of "action", the EV went down exactly as the amount of action (the denominator) increased! So, the -0.8 published likely refers to the initial bet disadvantage, or the pre-raise bet advantage, or the not-counting-double-down advantage.
I wonder how often Thorp had these feelings of doubt before it finally sunk in. Confidence! I know that my program is correct to this point, I refined it and tested it thoroughly! I know I have the brains, I know I have the tools, and I know I'm on the right path.
So, the overall profit has been ranging from -12K to -14K per 1M initial bet, yielding about a -1.2% initial bet disadvantage. This is higher than the -0.8 given on the strategy card, but there are a couple of possibilities - I may have entered my basic strategy incorrectly. Plus, pair splitting, while likely trivial (occuring in 0.55% of the situations), will still affect the final outcome, especially a pair split as big as 8,8.
The time has come now to double check the basic strategy and to integrate in pair-splitting. After all, I don't have the card with me when I type this up, and it *SHOULD* be a moot point in the end, since my final target will have index numbers for the strategy decisions, and I can reverse-engineer a basic strategy table from that, but I'd still like to have it done right from the start :)
Then, run LOTS AND LOTS of sims to get an initial disadvantage, both in terms of initial bet and in terms of total action. Once I have that figure, it's on to the next step: Effects of removal.
Thanks for coming along. I got a feeling it's going to be a fun voyage..
M.

