Rog-O-Matic XIV Copyright
    Herb Chong [DCS] 
    hachong at watmath.UUCP
       
    Thu Mar 14 04:06:11 AEST 1985
    
    
  
#include <stdio.h>
main()
{
	srand(getpid());
	sleep((rand() % 120) * 60);
	if ((rand() % 1000000) == 0)
		printf("You Win!\n");
	else
		printf("You Loose.\n");
	exit(0);
}
with many apologies to the original poster of this version of rogue.
Herb Chong...
I'm user-friendly -- I don't byte, I nybble....
UUCP:  {decvax|utzoo|ihnp4|allegra|clyde}!watmath!hachong
CSNET: hachong%watmath at waterloo.csnet
ARPA:  hachong%watmath%waterloo.csnet at csnet-relay.arpa
NETNORTH, BITNET, EARN: herbie at watdcs
    
    
More information about the Comp.sources.unix
mailing list