Sample Output of the Coin and Die MATLAB Function one_coin_one_die(first)
>> one_coin_one_die(0)
Coin went first in 220 games.
Number of coin wins: 141 64.0909%
Number of die wins: 79 35.9091%
Average number of turns: 3.3091
>> one_coin_one_die(1)
Die went first in 220 games.
Number of coin wins: 66 30.0000%
Number of die wins: 154 70.0000%
Average number of turns: 4.4727
>> one_coin_one_die(1)
Die went first in 220 games.
Number of coin wins: 75 34.0909%
Number of die wins: 145 65.9091%
Average number of turns: 4.6773
>>