snakes_probability_test, an Octave code which calls snakes_probability(), which computes the game length probabilities for Snakes and Ladders, by Desmond Higham and Nicholas Higham.
The information on this web page is distributed under the MIT license.
snakes_probability, an Octave 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.