Regarding random system
#5

Quote:
Originally Posted by Abagail
Посмотреть сообщение
The random function generates a random integer value(I am not sure what it's based on) within the range of 0, and the given parameter(max param).

Basically: - any number between 0 up to(and or equal to) the max can be chosen. I am not really entirely sure as I wrote above exactly how the number is generated, but if someone told you its not random they're wrong.

There is no way to predict which one will be chosen next without actually calling the function, and retrieving the value.
I don't think so, because computers cannot generate a random number. They use a sequence to generate the next number. They are not like humans.

Btw, humans too can't choose a random number. They does some calculations in their brain and tells a number, the calculations maybe small or big.

OT: I don't know the sequence which pawno uses.
Reply


Messages In This Thread
Regarding random system - by DavidLuango - 28.01.2015, 00:39
Re: Regarding random system - by DavidLuango - 29.01.2015, 01:40
Re: Regarding random system - by Abagail - 29.01.2015, 02:22
Re: Regarding random system - by DavidLuango - 31.01.2015, 07:36
Re: Regarding random system - by ATGOggy - 31.01.2015, 08:30
Re: Regarding random system - by DRIFT_HUNTER - 31.01.2015, 08:49
Re: Regarding random system - by Virtual1ty - 31.01.2015, 09:41
Re: Regarding random system - by DavidLuango - 01.02.2015, 19:15
Re: Regarding random system - by DavidLuango - 02.02.2015, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)