**snakes_histogram_test**,
a MATLAB code which
calls snakes_histogram(), which
produces histograms of the count, PDF and CDF estimates for the
length of a one-player game of Snakes and Ladders, by
simulating N games.

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

snakes_histogram, a MATLAB code which produces bar charts of the count, PDF and CDF estimates for the length of a one-player game of Snakes and Ladders, produced by simulating N games.

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

- snakes_histogram_count_10.csv, a CSV file of game index and game length for 10 simulations.
- snakes_histogram_count_10.png, histogram of game length counts for 10 simulations.
- snakes_histogram_pdf_10.png, histogram of game length PDF estimates for 10 simulations.
- snakes_histogram_cdf_10.png, histogram of game length CDF estimates for 10 simulations.
- snakes_histogram_count_100.csv, a CSV file of game index and game length for 100 simulations.
- snakes_histogram_count_100.png, histogram of game length counts for 100 simulations.
- snakes_histogram_pdf_100.png, histogram of game length PDF estimates for 100 simulations.
- snakes_histogram_cdf_100.png, histogram of game length CDF estimates for 100 simulations.
- snakes_histogram_count_1000.csv, a CSV file of game index and game length for 1000 simulations.
- snakes_histogram_count_1000.png, histogram of game length counts for 1,000 simulations.
- snakes_histogram_pdf_1000.png, histogram of game length PDF estimates for 1,000 simulations.
- snakes_histogram_cdf_1000.png, histogram of game length CDF estimates for 1,000 simulations.
- snakes_histogram_count_10000.csv, a CSV file of game index and game length for 10000 simulations.
- snakes_histogram_count_10000.png, histogram of game length counts for 10,000 simulations.
- snakes_histogram_pdf_10000.png, histogram of game length PDF estimates for 10,000 simulations.
- snakes_histogram_cdf_10000.png, histogram of game length CDF estimates for 10,000 simulations.