GraysGhost wrote:
I still get awful dice I get shot down by PK & FTE I never get a PK or FTE on my enemies
Did you actually get clear shots at them? That might be the reason. Oh. I checked our past history. I downed you once in four games, with a Plane Explosion .
As for the Major game overhaul to avoid repeated chits, here is some pseudocode:
array of int extractChits(int chitsToExtract) { chitExtracted = array of int, size equals to chitsToExtract; int randNum;
for (int i=0; i<chitsToExtract; i++) { randNum = floor(random()*(chitsToExtract-i)) +1;
for (int j=0; j<i; j++) { if (randNum >= chitExtracted(j)) { randNum++; } }
chitExtracted(i) = randNum; }
return chitExtracted; }
where floor() is the mathematical function that rounds towards -inf, while random() is the function that casts a uniformly distributed random number >=0 and <1.
This code does not provide control over the number of chits extracted (which could be well above the total number of chits). |