coin_flip_simulation 0.2.2

A coin flipping simulation, in preperation for an upcoming probability crate. Intended to be used as a binary to run a simualtion of Bernoulli coin flips. Prints results in JSON.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
How many iterations?
How many flips per iteration?
{
    expected: 0.12500
    actual: [
        { HHH: 0.12400 }
        { HHT: 0.12912 }
        { HTH: 0.12925 }
        { HTT: 0.12237 }
        { THH: 0.12275 }
        { THT: 0.12400 }
        { TTH: 0.12437 }
        { TTT: 0.12412 }
    ]
}