0
$\begingroup$

I am a complete novice when it comes to mathematics, however I am trying to calculate the most effective way to play a card game within a virtual casino on another online game I play. Dealer draws a card 2 thru Ace. You must then guess whether your card will be higher or lower than the dealer card. Aces are high, two's are low.

Rules:

Standard 52 card deck.

Cards are NOT replaced into the deck, until the deck is shuffled.

Deck is ALWAYS shuffled every 9 or 10 'hands'. 1 hand = 1 dealer card + 1 player card.

Payout rules:

Betting is in fixed amounts of 10, 100, 1,000, 10k, 100k, 1m and 10m.

Payout multiplier changes daily and ranges from 15% to 40%.

Every time you beat the dealer, you increase the starting bet by the payout multiplier. For example: 1m becomes 1.15m becomes 1.3225m


A draw, IE dealer has 8 and you draw 8, counts as neither a win or a loss. The game proceeds to the next round without any addition to the pot.

You may cash out at the end of a round for the full pot amount, or after you have seen the dealer card for a 50% reduction in pot.

I have made some basic calculations in excel that counts cards for you and tells you when you should pick higher or lower.

However, I'd like to calculate at what multiplier does the game have a positive EV.

I also think that there are more advanced strategies available where you play 10 hands until the deck is stacked in your favor; for example a minimal amount of 7,8,9's etc.

I'd love to find someone who can help me solve this problem!

Sorry if my post formatting is off or if I have broken netiquette here. This is my first post.

Many thanks, TJM

$\endgroup$
  • $\begingroup$ I don't understand the payout multiplier, what consists of a round, the 'pot', etc, basically the betting portion of the game. Can you clarify? $\endgroup$ – orlp Mar 23 '18 at 2:39
  • $\begingroup$ Hi Orlp. Thanks for the reply. The payout multiplier is how much the base bet increases after each round. The round goes as such. Dealer draws a card and shows it. Then the player guesses higher or lower than the dealer card, after this guess the player card is shown. If the player guesses wrong the game resets. If the player guesses right the pot is increased by the multiplier. I hope this clarifies for you. $\endgroup$ – Tjm118 Mar 23 '18 at 3:17
  • $\begingroup$ And when the game resets, you lost your initial bet? Also does the payout multiplier apply before or after you choose to cash out at the end of a winning round? $\endgroup$ – orlp Mar 23 '18 at 3:25
  • $\begingroup$ If you lose, then you lose everything. If you cash out, you get the initial back. So if you won 3 hands in a row from a 1,000,000 bet, you'd get back 1,520,875, assuming a multiplier of 15% The multiplier applies each round. $\endgroup$ – Tjm118 Mar 23 '18 at 3:28
0
$\begingroup$

Believe it or not, it's the ties that make this problem really complicated to analyze. For that reason I'm going to ignore ties for now, and assume that all 52 cards have a unique order.

Suppose that the dealer has picked a card out of $n$, and we know (through card counting) that there are $l$ lower cards, and $n-1$ cards left. Then our winning chance is (assuming we pick our best choice of higher/lower):

$$p = \frac{\max(l, n-1-l)}{n-1}$$


Suppose we have seen the dealer's card and know our $p$ to win. Now there are two choices:

  1. See our card. We have an expected outcome of $pmb$, where $m$ is our multiplier and $b$ is our bet. We don't value the chance of going deeper into the rounds.
  2. Do not see our card. We have an expected outcome of $\frac{1}{2}b$.

Now as long as $m > 1$ we should always choose option one. That is because $p$ can never be below $\frac{1}{2}$ (which is easy to see by symmetry - if one choice is < 50% chance to win, the other must be > 50%).


Our average win% in a round with $n$ cards left is:

$$\frac{1}{n}\sum_{l=0}^{n-1}\frac{\max(l, n-1-l)}{n-1} = \frac{1}{n(n-1)}\sum_{l=0}^{n-1}\max(l, n-1-l) = \frac{6n^2-4n-1+(-1)^n}{8n(n-1)}$$

Which for even $n$ simplifies to $\dfrac{3n - 2}{4n - 4}$.

Which gives the following winning percentages for the rounds:

r  n  p
01 52 0.7549019607843137
02 50 0.7551020408163265
03 48 0.7553191489361702
04 46 0.7555555555555555
05 44 0.7558139534883721
06 42 0.7560975609756098
07 40 0.7564102564102564
08 38 0.7567567567567568
09 36 0.7571428571428571
10 34 0.7575757575757576

We can see that even going into the deep rounds has a negligible effect on our chance to win. Also note that ties only improve on this, a tie is as if the round never happened while slightly improving our chances.


Now, when is it worth to play this game? If you only play a single round and then cash out it's worth it when

$$m > \frac{4\times 52 - 4}{3\times 52 - 2} = 1.324675$$

The most optimal play is to always play the full 9 or 10 rounds and then cash out.

For $9$ rounds your winning chances are $0.08057$, which makes it worth it if:

$$m^9 > \frac{1}{0.08057}$$ $$m > 1.322927$$


TL;DR: advanced strategizing isn't really applicable here. Wait for a day where the multiplier is $\geq 1.35$ to make a noticeable profit. In fact, assuming you can play the game as fast as you want, don't even bother card counting, just repeatedly play only round 1 as the advantage gained from card counting is so minimal, and faster throughput of games makes more money.

$\endgroup$
  • $\begingroup$ Thank you so much Orlp. I will add that the number of games is limited to just 75 per day, however there are ways to drastically increase this number into the thousands. $\endgroup$ – Tjm118 Mar 23 '18 at 4:50
  • $\begingroup$ @Tjm118 It's up to you if you want to card count, but unless you're automating it (since you're using Excel, I guess not) and your code is fool-proof I wouldn't bother with it, the gain is really, really minimal. The chance of mistakes seems higher to me than any profit you'd gain. $\endgroup$ – orlp Mar 23 '18 at 4:51
  • $\begingroup$ Thank you Orlp. I will consider not automating the card counting then since you said it makes little to no difference. $\endgroup$ – Tjm118 Mar 23 '18 at 4:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.