Mail Archives: djgpp/1999/09/27/10:34:32
Note that the "best" ways of getting random numbers involve an
external electrical circuit that is purposely noisy, and sampling it.
One hack I used "way back when" was to cycle the random number
generator while polling the keyboard during the "press any key to
begin" screen. Human reaction times are random enough to seed the
generator.
> This is a bit off-topic but when we made games for the Commodore 64,
> we used to play around with different random number generators a
> lot, and one lazy hack was to use the white noise waveform generated
> by the SID sound chip, which basically was an undocumented random
> number generator. Pretty mad, but it actually worked
- Raw text -