TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN CROSSLAND
from: ERIK WARMELINK
date: 1997-05-11 07:30:00
subject: Re: Throw of dice

Darin, you wrote to Bill Bussone:
 DC> Now as to the "True" random result, your outa luck... All
 DC> you can do, as far as I know, is do some fun and funky math
 DC> to the system clock. 
[]
 DC>  Perhaps there is a better way?
Most PCs have an almost perfect random number generating peripheral device. 
It is known as "user". :-) Let it type a few keystrokes (or less boring for 
it: let it play a game) and use (the least significant bits of) the time 
between its keystrokes as random numbers.
Bye,
 Erik 
---
---------------
* Origin: WarmelinkE@vertis.nl (2:282/608.60)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.