...
Electronic Dice
...
...
When S1 is pressed, counter U2 is driven by oscillator U1A/U1B and the count(0 through 6) is read on DISP1. R1 and C1 determine the count rate, which should be fast enough to ensure a "random" count.
...