in reply to Predictable random sequence

Have a look at http://en.wikipedia.org/wiki/Linear_congruential_generator. It will take you only a few lines of code to implement such a random number generator. As you do not care about the quality of the random numbers, one of those will be ok.

Replies are listed 'Best First'.
Re^2: Predictable random sequence
by vsespb (Chaplain) on Sep 17, 2013 at 14:18 UTC
    Yes, this would work, example implementation: http://rosettacode.org/wiki/Linear_congruential_generator#Perl