Skip to content

RabiNathJha/rolling-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Roller

The number and sides of dice to roll are indicated using the notation nDs where n is the number of dice to roll, and s is the number of sides on each dice.

E.g. 4D6 means "Roll four six-sided dice". Similarly 1D20 requires the player to roll one 20-sided dice.

For instance, 4D6 + 1D4 means "Add the value of a 4D6 roll to the value of a 1D4 roll". The minimum and maximum values possible in this case are respectively 5, and 28.

How to install :

  • npm install rj-dice-roller -g
  • diceRoller 4D8 - 5D6
  • You will get the output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published