Timothy McGee Timothy McGee - 1 year ago 91
Javascript Question

How can I predict math.random results?

How can i predict the results from this site: csgopolygon dot com. It's calling Math.Random and Math.Floor.

Answer Source

It is basically impossible to predict the result of Math.random(). If we trace back the root of this function all the way, we'll find ourselves in C and binary files. So unless you have an eternity on your hands, I would not focus on the matter.