Mogens Heller Jensen wrote:
> "Alvin" <> wrote in message
> news: oups.com...
>
>>Well, I'm developing a Tetris game in SDL, but when it comes to
>>deciding the next block, I'm stuck. It's random, but when I try
>>something like seeding the randomizer with the time,
>> ...
>
> The ideal solution (which, however, requires an internet connection) is to
> connect to www.random.org and download some random bytes...
>
> They are truly random, since they come from *sampling backgound noise in the
> atmosphere* (how cool is that?!).
Practically speaking, a reasonable PRNG would be more suitable. If you
needed secrecy (such as for high-stakes gambling), you wouldn't want to
connect to an external source with a non-secure connection, and even if
you secured the pipe, you would need reasonable assurances that the data
wasn't leaked (intentionally or otherwise) on the other end.
--
Thad