Table of Contents

Chess - Programming - PRNG (Pseudo Random Number Generator)

Pseudo Random Number Generator(PRNG) refers to an algorithm that uses mathematical formulas to produce sequences of random numbers.

A PRNG starts from an arbitrary starting state using a seed state.

Widely used PRNG algorithms include: Lagged Fibonacci generators, linear feedback shift registers, Blum Blum Shub.


Characteristics of PRNG


Applications of PRNG

PRNGs are suitable for applications where many random numbers are required and where it is useful that the same sequence can be replayed easily.


A Pseudo Random Number Generator using srand()

Linear Congruential Generator


References

https://en.wikipedia.org/wiki/Linear_congruential_generator

https://www.pcg-random.org/index.html