Dice Roller

Dice Roller
Template: Look at the example. Click this link, fork, and invite mrcodeswildride: new project

Hints

When the user rolls the dice, make a dictionary to store how many times each roll occurred, and increment the appropriate roll each time a number is rolled. Then loop through the roll values to show the roll frequencies.
For formatting a number to a fixed number of decimal places, use the toFixed method.
Last section Next section