Questions tagged [rng]
Questions about early random number generators.
8 questions
18
votes
3
answers
3k
views
Looking for very old, very bad rand()
It is ancient wisdom that one should never use rand() in C because its precision was never defined and some implementations were very bad. Very VERY bad.
I have a strong memory of reading that "...
7
votes
3
answers
1k
views
Fastest quasi-random function in 6502?
I am hacking around with the Oric Atmos computer, and it has an interesting video display scheme, involving attribute values which change the behaviour (ink/paper colours, blinking, invert) according ...
12
votes
1
answer
1k
views
Did any Famicom game use microphone for random seed?
So I know most common way to generate pseudo-random numbers on Famicom or NES is linear feedback shift-register.
However... It came to my mind - Famicom controller has a microphone. Did any game ever ...
11
votes
3
answers
2k
views
How good is this random number algorithm?
What follows are the random number generation routines from an ALGOL-60 computational math library, stored on a BESM-6 disk in a text form. The character encoding was with parity, imitating a punched ...
4
votes
2
answers
490
views
What random number generator was used in the VAX game Empire?
Around the year 1990, I played the game Empire on a VAX/VMS system. It was a turn-based, text-based-map wargame that later inspired Civilization and Xconq.
What was particularly memorable about this ...
9
votes
1
answer
1k
views
How can you set the NES RNG to a known state?
The Classic Tetris World Championship uses original NES consoles that are modded to provide the same RNG for both players:
Players WILL have the same RNG
I am wondering how this was done. So, my ...
104
votes
18
answers
26k
views
How was early randomness generated?
Many programs make use of randomness, from BASIC guess-the-number games to encryption key generators. This randomness could have been generated in many, many different ways: hardware, software, ...
19
votes
2
answers
1k
views
Color BASIC RND function not so random
The RND() function for random numbers appears to give the same results each time the computer is reset. How do I seed the random number generator with a random number?