Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: xdicey
node v8.17.0
endpoint
share
tweet
var SIDES = 6 //Testing with a d6 var TIMES = 1 //Throwing it one time var xdicey = require("xdicey")(TIMES,SIDES) console.log("Threw a " + TIMES + "d" + SIDES + " and got " + xdicey + ".")
Created from: https://npm.runkit.com/xdicey
Loading…
Clone and edit this document