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 94days ago.
Last Login15years 294days ago.
Last Move16years 86days 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 145days 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 147days TXWard [BM][OT] Statistical Anomalies
16years 147days flying_neko Re: [BM][OT] Statistical Anomalies
16years 146days TXWard Re: [BM][OT] Statistical Anomalies
 16years 146days flying_neko Re: [BM][OT] Statistical Anomalies
  16years 146days TXWard Re: [BM][OT] Statistical Anomalies
   16years 145days flying_neko Re: [BM][OT] Statistical Anomalies
    16years 139days SkunkGuru Re: [BM][OT] Statistical Anomalies
     16years 139days Calsir Re: [BM][OT] Statistical Anomalies
      16years 139days BladeRunner Re: [BM][OT] Statistical Anomalies
16years 147days ksnake Re: [BM][OT] Statistical Anomalies
16years 146days GraysGhost Re: [BM][OT] Statistical Anomalies
16years 145days shermanguy Re: [BM][OT] Statistical Anomalies
 16years 145days shermanguy Re: [BM][OT] Statistical Anomalies
 16years 145days Calsir Re: [BM][OT] Statistical Anomalies
  16years 145days GraysGhost Re: [BM][OT] Statistical Anomalies
   16years 145days GraysGhost Re: [BM][OT] Statistical Anomalies
    16years 145days BladeRunner Re: [BM][OT] Statistical Anomalies
    16years 144days GraysGhost Re: [BM][OT] Statistical Anomalies
     16years 144days BladeRunner Re: [BM][OT] Statistical Anomalies
      16years 143days GraysGhost Re: [BM][OT] Statistical Anomalies
       16years 143days ksnake Re: [BM][OT] Statistical Anomalies
        16years 143days GraysGhost Re: [BM][OT] Statistical Anomalies
    16years 145days Calsir Re: [BM][OT] Statistical Anomalies
Next thread
Posting elapsed timePosted bySubject

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

16years 145days blan86 [BM][BUG] Possible fuel bug
16years 145days scotireb Re: [BM][BUG] Possible fuel bug
 16years 145days litehoof Re: [BM][BUG] Possible fuel bug
  16years 145days blan86 Re: [BM][BUG] Possible fuel bug
   16years 144days imdog Re: [BM][BUG] Possible fuel bug
   16years 144days Zarby Re: [BM][BUG] Possible fuel bug
    16years 144days flying_neko Re: [BM][BUG] Possible fuel bug
Page generated in: 31.15234 milliseconds.