Skip to content

bullgit/fair-random

gh-pages
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Fair random

This is the best implementation of getting random numbers, backed by the blockchain.

Usage

just add the script, and import it

<script type="module">
import random from 'https://cdn.rawgit.com/bullgit/fair-random/gh-pages/fair-random.js';

console.log(random(0,5));
</script> 

More info

This project was made as a workshop at CodePenDay 2017 in Hamburg, slides and video available here

License

WTFPL

About

This is a library to find random numbers, better than Math.random()

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published