snakes_probability_test, a MATLAB code which calls snakes_probability(), which computes the game length probabilities for Snakes and Ladders, by Desmond Higham and Nicholas Higham.
The computer code and data files made available on this web page are distributed under the MIT license
snakes_probability, a MATLAB code which computes the game length probabilities for Snakes and Ladders, by Desmond Higham and Nicholas Higham. simulates N tosses of 2 dice, making a histogram of the results.