A sketch to 'throw' a six sided die using a partial 3 x 3 matrix of LEDs, driven directly from the microcontroller
A sketch to randomly 'roll' 2 dice, using serial-parallel input/output ICs in a cascaded design.