# An Empirical Approach to Dreidel

It was the fifth night of Channukah, and I was shooting dreidel with the boys, which got me thinking: how long is this game gonna take? Do we have time to finish this–before latkes? Before night six? Before the new year?

To state the problem more generally: Given a certain number of players and a certain starting bankroll, how many spins is a typical game going to require before only one player remains with all the winnings?

# My Approach

I took an empirical approach to the problem. I built a simulator to generate 120,000 dreidel games with various numbers of players and various starting bankgrolls, and I crunched this data to arrive at the answer: Dreidel takes too damn long. If you insist on starting a game and seeing it through til the bitter end, well, make sure that your starting bankrolls are very small. Otherwise it’ll take a whole lot longer than 8 days until a victor emerges with all the gelt.

# Takeaway #1: Death by a Thousand Spins

So how many spins does a typical dreidel game take? Too damn many!

We can immediately see that these distributions are positively skewed, meaning that there are games with very high spin counts that are going to bias the mean in that direction. Because of that, I’ll rely on the median and interquartile range as better indicators of central tendency and variance, respectively.

Just as a larger bankroll results in longer 4-person games, more players will also result in higher spin counts:

Putting it all together, here are the spin counts you can expect (i.e., median spin count with error bars indicating the interquartile range) varying both player count and starting bankroll:

That’s a lot of spins.

Here’a another way of visualizing the same data with more precise numbers:

# Takeaway #2: This Game Takes Way Too Damn Long

I’m not sure how many spins per minute a typical dreidel gang completes per minute, but 8 strikes me as a reasonably frenzied pace to sustain. Let’s calculate game durations using that as an estimate.

There is hope yet! As long as you keep your starting bankroll down and your spins/minute rate up, even a 6-person dreidel sesh can (usually) be wrapped in under 30 minutes. But if four dreidel fanatics get together and start the game with ten pieces of gelt each…yikes. That game could easily be an hour long.

Let’s take a closer look at that 4-person scenario. It’s Channukah and you and three homies are lookin’ for some action. But not too much action. How many pieces of gelt do you each start with?

As long as the gang can keep twisting 8 times a minute, you should have things wrapped up in a half hour as long as you start with 5 units or less. You’re pushing in with 6.

# Takeaway #3: This Game Ain’t Fair

Turns out, you spin first, you got the edge. In fact, the earlier you are in the spin order, the better the chance you have at winning it all. Have a look:

### Tech:

Python Pandas NumPy Seaborn Matplotlib