# Discount Gambling

## Spanish21 @ Sycuan Casino, CA

Posted in spanish21 by stephenhow on February 18, 2009

One of the best games in San Diego is Spanish 21 at the Sycuan Casino. The dealer hits on soft 17, but the player can double a hand up to 3 times. This comes in handy with a game that allows doubling on any number of cards, even after splits. I wrote my own program to find the basic strategy for this game, and verified it through simulation.  The game at Sycuan yields a small 0.4% edge for the house. That’s really good, considering normal blackjack yields at least 0.6% house edge, and the carnival games and “bonus” bets yield anywhere from 2%-8%. As far as discount gambling goes, this is as good as it gets … it costs you only \$.02 per \$5 bet. This level of action will hardly pay for the casino lights (\$.02/hand @ 60 hands/hr = \$1.20/hr).

Here’s the results I obtained from my program. The table almost exactly with The Wizard Of Odds, except for a few cases like 8-8 vs. a dealer 10 (you should just hit), A-3 vs. dealer 3 (you should just hit), and a three card 10 (e.g., 2-3-5) against a dealer 8 (you should just hit). There’s an inconsequential difference on the after doubling table too.

Basic strategy for Spanish21.

I wrote the program in C++, and used a recursive algorithm to walk all possible player options and their outcomes against a given dealer upcard. The code is very compact, because of its recursive nature, but it’s a little slow. I speeded up the algorithm a bit by saving intermediate decision EVs, and using them to automatically prune off improbable option branches. For example, it took my Intel-based Mac Mini over 6 minutes to solve the basic strategy play for player 5 6 vs a dealer 2 upcard:

```Macintosh:Debug show\$  time ./spanish_21  -u 2 5 6
dealerHand: 2
playerHand: 5 6
EV +0.348048
double

real    6m15.242s
user    6m10.942s
sys     0m0.799s```
Tagged with: ,

### 3 Responses

Subscribe to comments with RSS.

1. ZenMaster_Flash said, on October 31, 2009 at 4:46 pm

I am a heavy duty Macintosh user (since 1985)
Is there any way that you can supply me with an
application that can run this on my fast Mac ?

2. stephenhow said, on November 3, 2009 at 7:36 am

Sure, probably. Get familiar with your Terminal application, or download iTerm
http://iterm.sourceforge.net/
and I’ll get the executable ready.

3. Zen_Master_Flash said, on May 5, 2010 at 7:14 am

Stephen,

Any progress with that Unix executable ?