DampeS8N (Posted 2 hours ago)
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.)
No offense, but are you on crack, or some other mind altering substance? :-)
Millisecs() returns a number between -2 billion and +2 billion. This number depends on how long your PC has been on.
It doesn't return a number between 1 and 1000 depending on where you are within a second or whatever you think it does. It just increments by 1 every millisecond.
So while yes, theoretically millisecs() could generate the same deck, so can shuffling the cards since there are only X number of possible combinations of 52 cards.
I think 4 billion different decks is sufficiently random. :-)