**dice_simulation_test**,
a MATLAB code which
calls dice_simulation(), which
simulates N games in which M dice are thrown and summed.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

dice_simulation, a MATLAB code which simulate N games in which M dice are thrown and summed.

- dice_simulation_test.m, calls all the tests.
- dice_simulation_test.sh, runs all the tests.
- dice_simulation_test.txt, the output file.

- dice_freq_100_1.png, a frequency plot of 100 throws of 1 die
- dice_prob_100_1.png, a probability plot of 100 throws of 1 die
- dice_freq_1000_2.png, a frequency plot of 1000 throws of 2 dice
- dice_prob_1000_2.png, a probability plot of 1000 throws of 2 dice
- dice_freq_10000_3.png, a frequency plot of 10000 throws of 3 dice
- dice_prob_10000_3.png, a probability plot of 10000 throws of 3 dice
- dice_freq_100000_4.png, a frequency plot of 100000 throws of 4 dice
- dice_prob_100000_4.png, a probability plot of 100000 throws of 4 dice