Simulate blackjack with dice

broken image

This makes sense right? So my winning strategy is: This means that if you had infinite time to roll a die and to write the outcome onto a paper, the average of your results be $3.5$. Let $X$ be the finite list of all possible outcomes $\=3.5 \]

Where should you stop? Any guesses?Įxpected value is the average outcome if you were to roll a die a gazillion times. I'm just trying to find the best winning strategy. To make it simple, I will ignore the dealer aspect of this game for now. You'll start with a random 2 dice roll, then you can hit (roll a die and add it to your score) or pass (keep your score). The objective of this game is simple, get as close to 21 as you can but don't surpass it. If you don't know what Monte Carlo method is, it's basically a computer simulating the experiments using random inputs many times.

broken image

In the end Monte Carlo method will decide if I was correct or not. Then I'll try to calculate what'll happen using probability. In this series, I'll make up a bunch of dice games/experiments. I'm starting a new series called 'Dice Games'.

broken image