In a prior GameTek column - Great Expectations - I discussed how Expectation Value is a key metric designers need to pay attention to when determining randomized effects.
That article goes into details about how to calculate Expectation Value (EV), but here’s a quick overview.
If you roll a die or draw a card or time how long it takes you to drive to work, you will get a range of values. It’s not the same thing every time.
Expectation Value (EV) is the average of what you can expect over the long term, if you repeat the same activity over and over. It does not predict what a specific die roll will be, but it does tell you what the expected outcome is.
For this article we’re mostly going to be rolling dice, so you can think of it as the average of the faces.
For example, your basic D6 has an average roll of 3.5 - just add up the faces (21) and divide by the number of faces (6).
Generally speaking, mechanics that have the same EV will give the same average results in the long run. There may be short spurts of variance, but over time those smooth out and the average value will be the EV.
But “the long run” is doing a lot of heavy lifting there. In the long run, we’ll all be dead.
Games generally occur in the “short run”. If there are only ten or twenty dice rolls, what considerations should we look at as designers?
The math term for this is ‘variance’, and I ran across a striking example of this that I wanted to share and analyze deeper.
Designer James Ernest, designer of a host of classic games including Kill Dr. Lucky, Lord of the Fries, Light Speed, Lords of Vegas, and Tak, gave a presentation on probability at Gencon earlier this year as part of the Game Design Academy program.
Here’s a video of the full talk:
Starting around the 26 minute mark he talks about giving players different paths to follow, reflecting different play styles. Perhaps one is slow but steady, and one is high risk but high reward. How do we balance those?
Well, one method is simply to make the EVs equal for each option.
To illustrate that, he proposes a simple roll-and-move horse racing game.
The Rules
Each horse has a different rule about how it moves. Then each turn, the horses simultaneously run their rules. The race ends when one or more horses cross the finish line. All horses that cross in the same turn are co-winners.
Here are his horses:
Horse 0 moves 7.5 spaces each turn. (Why bother with half a space? It makes coming up with equal EV easier. Remember that a D6 has an EV of 3.5. We’ll keep track of half spaces when we run the race) This is our “control horse”. We want to design all the other horses so that they have an EV of 7.5. This horse also guarantees our race will end, no matter what other craziness we get up to.
Horse 1 rolls 3D4. A D4 has an EV of 2.5, so three of them have an EV of 7.5.
Horse 2 rolls 2D6 and adds 0.5. Again, a single D6 has an EV of 3.5.
Horse 3 rolls a D8 and adds 3. EV of a D8 is 4.5 (handy rule for calculating the EV of a ‘normal’ die that runs from 1 to the number of sides - it’s (1 + # sides) / 2. So a D8 is 9/2.
Horse 4 rolls a D14. Using our rule above, expectation value is 7.5.
For the last three horses, we’ll move away from dice.
For Horse 5, we flip a coin. Heads = 0 spaces. Tails = 15 spaces. Average (EV) = 7.5 spaces
Horse 6 has a 10% chance to move 75 spaces, and a 90% chance to move 0 spaces.
Horse 7 has a 1% chance to move 750 spaces, and 99% chance to move 0 spaces.
Place Your Bets
So which horse would you bet on?
All of them have an EV of 7.5 spaces per turn, but they get there in different ways. Do you think one of them has an edge?
Before we move on, think about it and make your pick. Here’s a summary of the horses:
0: 7.5 spaces fixed1: 3D42: 2D6 + 0.53: D8 + 34: D145: 50%: 15; 50%: 06: 10%: 75; 90%: 07: 1% 750; 99% 0
OK - Did you make a pick?
Hopefully you didn’t, because I didn’t give you one really important piece of information - how long is the track?
Let’s say the track is 100 spaces. Does that make you change your pick? Should it?
To test this, I ran 10,000 simulations and tracked how many wins each horse had:
Note that the numbers don’t add up to 10,000, since multiple horses can win on the same turn.
Did this match your gut feeling? It certainly didn’t match mine. I figured there would be some variation, but not this much.
Let’s take a step back and think about what’s happening here.
Horse 0 plods along and does exactly the same thing every time, crossing the finish line in 14 turns. (Sadly after 13 turns it is close to the end, at 97.5 spaces, but not quite).
All the horses have the same EV, so in order for one of them to win, they need to get ‘lucky’ - lucky enough to cross the line in fewer than 14 turns.
In order for horse 0 to win, it needs none of the other horses to get lucky. If even one overperforms by enough to finish in 13 turns or fewer, horse 0 will lose.
And, as you can see in the chart above, this happens pretty frequently. Most of the time one of the other horses will steal the win away from Horse 0.
The variance of each horse is a key factor in how often they win - even though all horses have the same expectation value.
There is a mathematical way to calculate the variance of a distribution of results. I won’t go into details now, but here is a table of the standard deviation (a measure of the ‘spread’ of results) of each of the horses:
Generally, as the standard deviation increases, that horse wins more in the full eight horse field. The exception is Horse 7. Why is that? Well, that horse just needs to get lucky one time during the race to win. But if it gets lucky, it moves 750 spaces - well in excess of the end of the track. A lot of its ‘power’ is wasted as it blows past the finish line.
But if the track is longer - let’s say 750 spaces - Horse 7 does way, way better.
The performance is strictly correlated with the standard deviation - the more variable the horse is, the more often it wins the eight-horse competition.
The Short Run
The chart for the 100 space race and 750 space race clearly show that the length of the track impacts the results. But how much? And is there some pattern we can glean?
To look at this I wrote a program that lets you simulate races over a range of track lengths and output the result. Here’s a chart showing the results for races from 50 to 150 spaces in length.
The three that are mostly overlapping in the middle are horses 2, 3, and 4. The brown line gradually increasing through the graph is horse 7, the 750 space wonder. As the track gets longer, that horse continues to do better.
There’s a lot to unpack here, but here are some highlights:
Horses have a ‘resonant’ frequency, where they become more or less likely to win as the track length changes. Horse 5, for example, either moves 0 or 15. So it becomes most likely to win as the track lengths hit multiples of 15. Similarly, horse 6 moves either 75 spaces or nothing. And not surprisingly the chances of it winning plummet as the track length moves from 75 to 76.
So… what now?
So does all of this mean that you should always pick the highest variance strategy? That this gives you the best chance of winning?
The answer is, of course, it depends. If you are in a tournament with, say, a fixed number of rounds, or where you want to be the first person to hit a target number, and there are a lot of entrants, then yes. You want to pick a high variance strategy.
The reason? A bunch of other people will pick high variance strategies, and only one of them needs to get lucky to win. If you don’t pick a high variance strategy you’re counting on everyone who did so to get unlucky. And that probably won’t happen.
On the other hand, if it’s just a head-to-head competition, then the high variance strategies can flounder.
Here’s a chart showing one-on-one competitions on a 100 space track:
The higher the variance, the more Horse 0 wins.
But when tracks get very long, this head-to-head difference vanishes. Any two horses running against each other on a long track have about a 50% chance to win.
This is when the EV starts to shine. And as James Ernest says in his talk, the casino doesn’t care about any of this variance stuff. The casino has an infinitely long track.
But the shorter the track, the better the low variance horses do. Here’s a chart showing races of only 5-25 spaces in length:
Horse 0 dominates in races of 7 spaces or fewer, because it’s guaranteed to win in one turn. So at worst it can tie. Meanwhile Horse 7 barely registers any wins at all. These races of 1-3 turns just don’t give that 1% enough chances to hit.
Takeaways
When players sit down to play a game, and they are presented with several paths, some with low risk and small but consistent rewards, and others with high risk but high reward, there is an implicit promise that we, as the game designer have done our homework and that these are reasonably balanced.
I hope all of the charts and graphs above have shown that this is a more complex situation than you realized. So what specific guidance can we take from this?
> Expectation Value is not the whole story. Paths with the same EV will not give the same results.
> The more players there are, the more valuable high variance strategies become.
> The number of times the strategies execute (e.g. the number of turns, the number of times you will roll the die, etc.) is an important factor. For very few iterations, low variance strategies do better. The more iterations, the more power high variance strategies gain.
> The amount of gain relative to the target value is important. This can be reaching the end of a track, accumulating resources to purchase a card, or other game goals. Be careful when adjusting costs / targets. A minor change may push a strategy from needing to succeed three times to four times, and that can have a huge impact on how viable it is.
> For simple cases, like this horse race game, computer simulations can be helpful. But nothing replaces playtesting. Remember that how players perceive the balance, particularly in early plays, can be more important than actual balance.
If you made it this far, thanks for sticking with it. I know this is a particularly dense article, but hopefully you found it thought-provoking for your own design work.
Let me know in the comments if you’ve encountered issues like this with high and low risk strategies!








Love the simulations and how thorough this is. Great post!
Geoff, thanks for the thoughtful approach and the time spent doing the simulations. This article does a great job showing some of the nuance of statistics - a subject in which most human beings are notoriously awful.