home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / hardware / 26782 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.0 KB

  1. Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!hri.com!noc.near.net!saturn.caps.maine.edu!maine.maine.edu!ree700a
  2. From: REE700A@MAINE.MAINE.EDU
  3. Newsgroups: comp.sys.mac.hardware
  4. Subject: Re: SE/30 random number problem
  5. Message-ID: <93024.093130REE700A@MAINE.MAINE.EDU>
  6. Date: 24 Jan 93 14:31:30 GMT
  7. References: <1jtdklINN10t@aludra.usc.edu>
  8. Organization: University of Maine System
  9. Lines: 12
  10.  
  11.  
  12.    So-called random numbers are a sequence of numbers which are generated
  13. by an algorhythm from a seed number.  If the same seed number is used,
  14. the same sequence will result.  I don't think this could explain the
  15. SAME games doing this on the SE/30 but not a plus, but if the game
  16. writer used a global variable as the seed, it may be constant on the
  17. SE/30 (ie unused) and variable on the plus.
  18.   Typically, the clock ticks counter is used as the value for randSeed,
  19. which is the seed variable for RandomNumber() (or whatever it's called).
  20.  
  21.   I suppose another possibility is that you've played the game enough
  22. to learn the sequence and it's always done this   ;-)  ...
  23.