Development Blog (semi)random.thoughts()

January 2021

Pseudo random number generation using a hash function

What if you want to generate random numbers, in a deterministic way and be able to restore the RNGs state? Maybe rolling your own using a hash function and conforming to `RandomNumberGenerator` is the way to go? Its the way I did it for my roguelike game.
Read Moreā€¦

We value your privacy. This site collects only information required to provide you this Service. For more information, read our privacy policy.