dos33fsprogs/random
Vince Weaver fc34c33d67 peasant: rebalance climbing
was too hard with good RNG
2024-10-10 16:31:51 -04:00
..
Makefile peasant: update the random code 2024-10-10 13:22:45 -04:00
random8.c peasant: rebalance climbing 2024-10-10 16:31:51 -04:00
random16.c random: trying to find a reasonable random number generator 2024-10-10 12:40:33 -04:00
random24.c peasant: update the random code 2024-10-10 13:22:45 -04:00
README random: trying to find a reasonable random number generator 2024-10-10 12:40:33 -04:00

Trying to find a good pseudo-random number generator for 6502

I had been using the "random16" one here, but at least on Peasant's Quest
when used to generate a 0-31 random value it seemed to have "0" and "17"
come up way more than exected

the "random8" one here is better, but it's really only 7 bits as you can't
actually generate a 0 and code might fail if you never get a 0 result?