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
parent 2bc887c84e
commit 8a8770375e
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 log replay. Note that the replay log needs to begin
with the random-number seed.