Random number generator

From RogueBasin
Revision as of 15:26, 22 June 2005 by Slash (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A random number generator is an algorithm which is capable of generating a serie of pseudo-aleatory numbers after being given a seed.

The Mersenne Twister is one of the more popular RNGs, however most RL projects encapsulate the RNG functionality and stick to the native generators of their own languages, which give good-enough results.

The RNG is also sometimes refered to as the Random Number God, the entity inside a game tha provides random functionality.