Add seedable PRNG using an adaptation the original LCG algorithm.

This commit is contained in:
Jason S. Ninneman 2017-05-23 23:37:56 -07:00 committed by Eric S. Raymond
parent 97b00dfb14
commit 5598b7a178
7 changed files with 48 additions and 34 deletions

3
TODO
View file

@ -1,7 +1,6 @@
= Open Adventure TODO =
* Use a real pseudorandom-number generator with a seed rather than just
time-sampling.
* Update the command parser to accept a PRNG seed value.
* Add command logging and command log replay. Note that the replay log
needs to begin with the random-number seed.