An experiment with random generation. Z plays the bird's call, and X generates a new one.
P#62305 2019-02-27 22:48
:: gradualgames


I noticed that the seed printed in decimal, if then hard-coded in as the seed, will not always result in the same bird. Rounding error?
I modified it locally to print the seed like this:
print(tostr(seed,true)) |
I've found setting the seed in hex representation appears to guarantee the same results with randomly generated content (in both this cart and my own cart).
I noticed regardless of the seed, the bird song sometimes turns out slightly differently...wonder why this is?
P#65289 2019-06-19 18:43
[Please log in to post a comment]