Unrepeated random numbers

Miscellaneous Forums/General Discussion/Unrepeated random numbers

actually Sswift... your solution has a major flaw in it...

there are only like 1000 possible decks then. Because seed rand hits up a list of random numbers based on markers... spread out over the list of random numbers. So your deck will be the same if it happens to be generated at the same millisecond.. (If I understand how it is picking the number... that is, based on what thousandth of a second you are at... meaing only 1000 possible number starting points.. and only 1000 decks.)



Damp, if I understand your one correctly (an arduous task), you don't have any random numbers, which results in the same sequence of cards each time. Unless you are implying that somehow the cards are initialized in a completely random way before calling your routine, in which case, what's the point in your routine?

SeedRnd Millisecs() is about the best way of achieving a reasonably random number in Blitz because the chances of it being called when millisecs() returns exactly the same number is so slim it's not worth worrying about.

Mine offeres a truely random number... oddly enough... because it doesn't use the computers random numbers.

Where does yours get the random numbers from then?