Card Game Simulation

I had another busy week, so I’m taking advantage of old stuff I can recycle.


A month or two ago, I was playing a Solitaire variation my parents taught me when I was younger, and I realized that it was a completely deterministic game once the deck was shuffled. That is, unlike traditional solitaire, there was no element of choice by the player. As such, it made it very easy to write a simulation of it and analyze the details.


The very brief report I wrote up is here, and the simulation code (which is also linked in the report) is here.

The short version, is that it is a break-even game on average, which is pretty interesting. Furthermore, the overall result is normally distributed around breaking even.


I’m trying to include a more well-rounded amount of content here, since math is still very close to my heart and I’d like to only maintain one sight for everything. It will continue to be a mix of things, so that we’re all on the same page.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s