Re:Predictably Random
by ChrisSD on Tuesday August 13, 2019 @09:46AM
(#20685752)
Javascript doesn't allow setting the seed: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[ Parent
| on HN ]
Re:Predictably Random
by strenholme on Tuesday August 13, 2019 @10:27AM
(#20686131)
Probably time to use a third party RNG for Javascript then. For example, https://gist.github.com/banksean/300494 or, if you don’t like MT19937 (shameless plug) https://github.com/samboy/rg32hash/blob/master/rg32.js
Re:Predictably Random
by soVeryTired on Tuesday August 13, 2019 @09:59AM
(#20685884)
Yikes!