This is a discussion on Re: Random Number generator - Java-Games ; Jean wrote: > Is it possible to make an 'ideal' random number generator...?? > By 'ideal' I mean that its output will be always random irrespective > of the way(periodic or with incresing periods or...etc) in which you > sample ...
Jean wrote:
> Is it possible to make an 'ideal' random number generator...??
> By 'ideal' I mean that its output will be always random irrespective
> of the way(periodic or with incresing periods or...etc) in which you
> sample its output..
>
> Jean
if its sporadicly called (as in it can be triggered by a truly random
event - like when the player
presses a key) using the value in the performance timer (see C doc
online) can be fairly random.
(you have to use a subrange of the 64 bit value -- some small part of a
second, but not to small)
It could be used to reload the seed of the random number generator to
provide a sequence of
numbers....