Re: [stella] entropy & randomness

Subject: Re: [stella] entropy & randomness
From: Erik Mooney <erik@xxxxxxxxxx>
Date: Tue, 09 Oct 2001 10:26:53 -0400
>The _TTL Cookbook_ only goes up to 31 stages, and they suggest bits 28 and 
>
>You should call the random # routine at least once a frame, even if it is 
>not being used.  This harnesses the randomness of the player to your 
>advantage, since it will skip many states when the program does not require 
>a random number.  Say, you start at the same random # seed (see below for 
>setting one on startup) every time, depending on which frame the player 
>pressed the start button, he will start in a different place unless he has 
>*good* timing and can hit on the correct 1/60th of a second to get in the 
>same place on the sequence.

FWIW, I did exactly this with INV many moons ago - heck, it sounds like Kevin's
reading from one of my posts from back then :)  Although I just used a static
seed, since more detail really isn't necessary -- the random-bit-every-frame-before-
start deal was sufficient.


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

Current Thread