digital_dice_test, a MATLAB code which calls digital_dice(), which illustrates Paul Nahin's "Digital Dice".
digital_dice, a MATLAB code which contains the scripts used to carry out the probability simulations described in Paul Nahin's "Digital Dice";