Topic List | Page List: 1 |
---|---|
Topic | Politics Containment Topic 268: Hope & Change |
LordoftheMorons 02/14/20 7:28:31 PM #283: | Corrik7 posted... There isn't a way to just internally roll a dice every time it needs a random result?Assuming you're not thinking of a literal physical die inside your computer, no. The program's code is fixed, so the only way you can get different outcomes is to give it different inputs. Pseudorandom number generators are actually deterministic, but the sequences of numbers they give "look" random in the sense that (if the PRNG is perfect) if I get some numbers from the PRNG, I can't predict future numbers any better than I could for a truly random number generator. --- Congrats to Advokaiser for winning the CBX Guru Challenge! ... Copied to Clipboard! |
Topic List | Page List: 1 |