GitXplorerGitXplorer
d

gold-dice

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
9fa9ed29fc20c2acebefa08e3b87bca91f0454b2

Added flare

ddaxxog committed 6 years ago
Unverified
4cd655c2d627d66542085b34c6fb5b0f3025ad2b

10.16.0 travis = same as my local machine

ddaxxog committed 6 years ago
Unverified
07fb4fdd6ba51bb7d11e6d866c8fb8834b7ed611

using some newer node features, set to my currently installed version

ddaxxog committed 6 years ago
Unverified
18f8099381459260557595f00fa29f026b89ad63

version bump

ddaxxog committed 6 years ago
Unverified
9a46ffa3dadf4564e5180054f59faac84eea2b84

removed bitcore-lib/crypto

ddaxxog committed 6 years ago
Unverified
5b9afa045873588942d51e58d6b468a4ea9760bb

no

ddaxxog committed 9 years ago

README

The README file for this repository.

GoldDice

the gold standard for provably fair dice

NPM Version Build Status

Install

npm install --save gold-dice

Examples

var GoldDice = require('gold-dice'),
    dice = new GoldDice();

//two sides, one roll
console.log(dice.roll(2));

//six sides, ten rolls
console.log(dice.roll(6, 10));

//the state of the dice, save this in a database or wherever
console.log(dice.toString());