1.0.7 • Published 5 years ago

simple-roll-dice v1.0.7

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

Simple Roll Dice

A simple dice rolling library

Install

npm i simple-roll-dice

Usage

const DiceMod = require("simple-roll-dice");
let diceMod = new DiceMod.DiceMod();
console.log(diceMod.roll("2d6"));

roll parameter, example (2d6)

  • 2 - number of dice
  • 6 - number of faces

Will return dice, and their sum.

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago