Game Programming Math: Randomness
Implementing High-Quality PRNG on GPUs
Wai-Man Pang, Tien-Tsin Wong, and Pheng-Ann Heng|
Safe Random Number Systems
Abstract: Random numbers are used most heavily by Artificial Intelligence and games in general. To ignore their potential is to make the game predictable and boring. Using them incorrectly can be just as bad as ignoring them outright. Understanding how random numbers are generated, their limitations and their capabilities, can remove many difficulties of using them in your game. This article offers insight into random numbers, their generation, and methods to separate good ones from bad.
The Statistics of Random Numbers
Abstract: Conventional wisdom suggests that the better the random number generator, the more unpredictable your game will be. However, according to psychology studies, true randomness over the short term often looks decidedly unrandom to humans. This article shows how to make random AI decisions and game logic look more random to players, while still maintaining strong statistical randomness. Full source code, ready to drop into your game, is supplied on the book's CD-ROM.
Filtered Randomness for AI Decisions and Game Logic
Genuine Random Number Generation
Predictable Random Numbers