On Sun, 2009-09-06 at 19:52 -0500, Pavitra wrote: > I'm not convinced. Rolling d...@nomic.net is a completely separate > (statistically independent) random event from the card destruction. > > If there are several platonic random events "pending", can I randomize > once for all of them? For example, if I have (numbers invented for > didactic purposes) 3 of 10 cards destroyed, can I do this: > > rseed = rand()%360 + 1; > first_card = rseed%10; > second_card = rseed%9; > third_card = rseed%8;
Definitely not like that; 8 and 10 aren't coprime. -- ais523