3 ms·
I didn't mean that they would find a pattern in the random number generator, rather a pattern in the interesting seeds, that they can then abuse to make random
by fao_ 10y ago
I didn't mean that they would find a pattern in the random number generator, rather a pattern in the interesting seeds, that they can then abuse to make random seeds interesting.
An example of this is that perhaps numbers that are even produce more interesting games than those that are odd, so they could then write something like the following:
int new_seed(void)
{
int seed = random();
if ((seed % 2) != 0)
seed++;
return seed;
}
which makes seeds less random, but is more likely to produce interesting games.
- vertex-four 10y agoFinding an obvious pattern in the seeds implies that the random number generator's output has an obvious pattern. Given the point of RNGs, that seems unlikely.