Game Development Reference
In-Depth Information
True randomness
There is another course of logic in random generation systems called True Random
Number Generators ( TRNGs ). They go to great lengths to guarantee the randomness of
a generated number with greater and greater precision, but these also come at a heavy cost
(if you really need them, however, they are worthy of study).
In games, however, it is usually sufficient to rely on pseudorandom systems, both for their
efficiency as well as their predictability. They can be used for bug reproduction or being
able to do lock-step games over the net with only player input, for example, in RTS
games, or level-generation systems based on seeds, for example, Worms. Another reason
is that you often don't want 100 percent randomness, you want something like a shuffle
bag or similar to ensure that the event happens "randomly enough" within a time frame.
Search WWH ::




Custom Search