Father of Samwise

Flip a Coin

The kids and I were discussing coin flips and entroy. We thought it would be interesting to flip a coin a few thousand or a few million times, but we agreed it could take too long. So, here's a little computer code to do it for us.

For anyone counting, this was actually written in C#. I could have done it in ol' JavaScript, but I needed to try something with Mono tonight anyway.