Great article! I love how you explained the algorithms simply. Two things:
the title kinda makes it sound like you're suggesting alternatives to Math.random() (which is why you have so many comments saying people should use the library😆), rather than just exploring how PRNGs are implemented
could you explain how these algorithms get their starting seed? If you used the same seed (and modulus, multiplier, increment) always, it's no longer pseudo-random. Do they store the last used seed somewhere? Use the clock (which makes it sort of predictable)?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article! I love how you explained the algorithms simply. Two things:
Math.random()
(which is why you have so many comments saying people should use the library😆), rather than just exploring how PRNGs are implemented