RE: [stella] Random Numbers

Subject: RE: [stella] Random Numbers
From: "Bob Colbert" <rcolbert@xxxxxxx>
Date: Fri, 20 Feb 2004 15:26:03 -0600
That's how I generate random numbers in my "Sabotage" game too.  It
seems to work pretty good using a combination of joystick and button
simply increment a counter every frame that one of them is pressed.  You
can do other things like increment by 1 if the stick is pushed up, dec
if down, rol if left ror if right, the possibilities are endless...

		Bob

> -----Original Message-----
> From: owner-stella@xxxxxxxxxxx [mailto:owner-stella@xxxxxxxxxxx] On
Behalf
> Of Dan Boris
> Sent: Thursday, February 19, 2004 8:57 PM
> To: stella@xxxxxxxxxxx
> Subject: RE: [stella] Random Numbers
> 
> I saw Howard Scott Warshaw at a convention a few years ago and he said
> that this was a technique he actually used to generate random numbers.
> He used a pseudo-random number algorithm and periodicall re-seeded it
> based on the time between moves of the joystick. He pointed out that
he
> was exploiting the only truly random thing in the system, the user.
> 
> Dan
> 
> 
> >
> > Real random numbers?  What's your source of real randomness?
> > I guess you could ask the player to wiggle the joystick or
something.
> >
> >
> 
>
------------------------------------------------------------------------
--
> --------------------
> Archives (includes files) at
http://www.biglist.com/lists/stella/archives/
> Unsub & more at http://www.biglist.com/lists/stella/



----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread