a specific set of numbers for game, like 123, to 321, 231, 213, etc.? Thanks.
Quote:
Originally Posted by dasien
You need to seed the random number generator first...
try this..
srand([[NSDate date] timeIntervalSince1970]);
then you can call the generator and get different numbers...
Cheers,
brian
|