Skip to main content

Questions tagged [rng]

Questions about early random number generators.

Filter by
Sorted by
Tagged with
18 votes
3 answers
3k views

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 "...
Stig Hemmer's user avatar
7 votes
3 answers
1k views

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 ...
ibisum's user avatar
  • 209
12 votes
1 answer
1k views

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 ...
shinobody's user avatar
  • 223
11 votes
3 answers
2k views

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 ...
Leo B.'s user avatar
  • 22.3k
4 votes
2 answers
490 views

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 ...
DrSheldon's user avatar
  • 17k
9 votes
1 answer
1k views

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 ...
Jaap Joris Vens's user avatar
104 votes
18 answers
26k views

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, ...
wizzwizz4's user avatar
  • 19k
19 votes
2 answers
1k views

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?
tlindner's user avatar
  • 2,417