This project was bootstrapped with Create React App.
https://dice-demo.herokuapp.com
npm run start
npm run build
npm run test
- concatenate:
user seed + '_' + current unix time + '_' + Math.random();
- take that concatenation, hash with sha256
- take hash, and get first 10 hex characters (40 bits)
- convert that hex string to decimal
- decimal mod 10,001 for game result