LOGIN
User Name
Password
Remember me


Register...Forgot password?
Main menu
Leagues
Gonzaga
Blue Max
Cartagena
Wooden Ships...
King Me!
VampiRing
Forum Message
Previous messagePost a replyNext message

City:Milano IT
Personal Data:born: June 27 1979
Membership18years 102days ago.
Last Login15years 303days ago.
Last Move16years 95days ago.
Calsir is currently Offline!Send a mail to Calsir


Message header
Area/Game:Blue Max
Topic:Other
Subject:Re: Statistical Anomalies
Posted by: Calsir - 16years 153days ago.
Message text
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).

Back to the messages list
Messages thread
Posting elapsed timePosted bySubject

16years 155days TXWard [BM][OT] Statistical Anomalies
16years 155days flying_neko Re: [BM][OT] Statistical Anomalies
16years 155days TXWard Re: [BM][OT] Statistical Anomalies
 16years 155days flying_neko Re: [BM][OT] Statistical Anomalies
  16years 154days TXWard Re: [BM][OT] Statistical Anomalies
   16years 153days flying_neko Re: [BM][OT] Statistical Anomalies
    16years 147days SkunkGuru Re: [BM][OT] Statistical Anomalies
     16years 147days Calsir Re: [BM][OT] Statistical Anomalies
      16years 147days BladeRunner Re: [BM][OT] Statistical Anomalies
16years 155days ksnake Re: [BM][OT] Statistical Anomalies
16years 155days GraysGhost Re: [BM][OT] Statistical Anomalies
16years 153days shermanguy Re: [BM][OT] Statistical Anomalies
 16years 153days shermanguy Re: [BM][OT] Statistical Anomalies
 16years 153days Calsir Re: [BM][OT] Statistical Anomalies
  16years 153days GraysGhost Re: [BM][OT] Statistical Anomalies
   16years 153days GraysGhost Re: [BM][OT] Statistical Anomalies
    16years 153days BladeRunner Re: [BM][OT] Statistical Anomalies
    16years 153days GraysGhost Re: [BM][OT] Statistical Anomalies
     16years 153days BladeRunner Re: [BM][OT] Statistical Anomalies
      16years 151days GraysGhost Re: [BM][OT] Statistical Anomalies
       16years 151days ksnake Re: [BM][OT] Statistical Anomalies
        16years 151days GraysGhost Re: [BM][OT] Statistical Anomalies
    16years 153days Calsir Re: [BM][OT] Statistical Anomalies
Next thread
Posting elapsed timePosted bySubject

16years 145days ksnake [GAMES][OT] batracer
Previous thread
Posting elapsed timePosted bySubject

16years 153days blan86 [BM][BUG] Possible fuel bug
16years 153days scotireb Re: [BM][BUG] Possible fuel bug
 16years 153days litehoof Re: [BM][BUG] Possible fuel bug
  16years 153days blan86 Re: [BM][BUG] Possible fuel bug
   16years 153days imdog Re: [BM][BUG] Possible fuel bug
   16years 153days Zarby Re: [BM][BUG] Possible fuel bug
    16years 152days flying_neko Re: [BM][BUG] Possible fuel bug
Page generated in: 31.25 milliseconds.