**snakes_bar_test**,
a MATLAB code which
calls snakes_bar(), 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.

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

snakes_bar, 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_bar_test.m, calls all the tests.
- snakes_bar_test.sh, runs all the tests.
- snakes_bar_test.txt, the output file.

- snakes_bar_count_100.png, bar chart of game length counts for 100 simulations.
- snakes_bar_pdf_100.png, bar chart of game length PDF estimates for 100 simulations.
- snakes_bar_cdf_100.png, bar chart of game length CDF estimates for 100 simulations.
- snakes_bar_count_1000.png, bar chart of game length counts for 1,000 simulations.
- snakes_bar_pdf_1000.png, bar chart of game length PDF estimates for 1,000 simulations.
- snakes_bar_cdf_1000.png, bar chart of game length CDF estimates for 1,000 simulations.
- snakes_bar_count_10000.png, bar chart of game length counts for 10,000 simulations.
- snakes_bar_pdf_10000.png, bar chart of game length PDF estimates for 10,000 simulations.
- snakes_bar_cdf_10000.png, bar chart of game length CDF estimates for 10,000 simulations.