A PRNG that isn't ... Doom
jim at gonzul.net
Tue Sep 14 23:13:54 BST 2021
The old video game Doom had all its sources released a few years ago, and
lots of people have been looking at how id Software managed to cram so much
functionality into such a small package ...
In this case, Doom is a little bit unusual with its approach to RNG ...
They pre-generated a table of numbers, and step through this. There is no
deliberate seed, but player actions call for random numbers and that
effectively seeds each playthrough.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss