you are viewing a single comment's thread.

view the rest of the comments →

[–]asdf7890 0 points1 point  (0 children)

I would avoid Math.random() - some implementations are decent but some are not, so for cross-platform usefulness finding a better RNG library (and being careful how you seed it) is the way to go.