Roll The Dice
This example of a dice roll game shows the properties of different die and allows several options. The defaults are 2 standard 6 sided dice; however you can "roll your own" and create more or less the dice options you desire. The result is the TOTAL of the dice values for the number of dice rolled. This is just a simple implementation but fun nonetheless! View the source code.