Roll The Dice
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
 
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



Right click this window and select "view source" in order to copy the source for this script.

What dice type? How many dice to roll?

3 Sided

4 Sided

5 Sided

6 Sided

8 Sided

10 Sided

12 Sided

20 Sided

30 Sided

100 Sided

1

2

3

4

5

6

7

8

9

10



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.



Bookmark and Share
Registered® Trademark™ and CopyrightŠ 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved