home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / mag_discs / volume_3 / issue10 / pipeline / PUTTOCK / RANDOMNO < prev   
Text File  |  1990-05-08  |  426b  |  10 lines

  1. Hint/tip
  2.  
  3.         If you use the use the random number generator (RND in 
  4. BASIC), it must be initialised with something really random, such as 
  5. the current time.  Otherwise, the same numbers will be produced 
  6. every time the program is run.  The otherwise excellent game 
  7. !Yahtzee on Careware 4 suffers from this problem, but it can easily 
  8. be solved: insert the line  123 Junk = RND(-TIME)  and then every 
  9. game is different.
  10.