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...


> -----Original Message-----
> From: owner-stella@xxxxxxxxxxx [mailto:owner-stella@xxxxxxxxxxx] On
> 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
> 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
> >
> >
> --------------------
> Archives (includes files) at
> Unsub & more at

Archives (includes files) at
Unsub & more at

Current Thread