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