In a card game, I would like to use Rnd to generate a random deal, but I would also like to be able to seed the random number generator so that I can redeal the same deal just by entering the seed number rather than having to save all the hands of cards.
I've searched and the only thing remotely on topic is an encryption library that has a Seed function in it. Assuming that isn't an efficient use of that library even if it worked for my purposes, I'm wishing for a seed function.
Here is a class that does it, but I don't know what to do with it:
Random | Android Developers
I've searched and the only thing remotely on topic is an encryption library that has a Seed function in it. Assuming that isn't an efficient use of that library even if it worked for my purposes, I'm wishing for a seed function.
Here is a class that does it, but I don't know what to do with it:
Random | Android Developers