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 on the new forumNext message

City:Milano IT
Personal Data:born: June 27 1979
Membership19years 70days ago.
Last Login16years 270days ago.
Last Move17years 62days 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 - 17years 121days 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

17years 123days TXWard [BM][OT] Statistical Anomalies
17years 123days flying_neko Re: [BM][OT] Statistical Anomalies
17years 122days TXWard Re: [BM][OT] Statistical Anomalies
 17years 122days flying_neko Re: [BM][OT] Statistical Anomalies
  17years 122days TXWard Re: [BM][OT] Statistical Anomalies
   17years 121days flying_neko Re: [BM][OT] Statistical Anomalies
    17years 115days SkunkGuru Re: [BM][OT] Statistical Anomalies
     17years 115days Calsir Re: [BM][OT] Statistical Anomalies
      17years 115days BladeRunner Re: [BM][OT] Statistical Anomalies
17years 122days ksnake Re: [BM][OT] Statistical Anomalies
17years 122days GraysGhost Re: [BM][OT] Statistical Anomalies
17years 121days shermanguy Re: [BM][OT] Statistical Anomalies
 17years 121days shermanguy Re: [BM][OT] Statistical Anomalies
 17years 121days Calsir Re: [BM][OT] Statistical Anomalies
  17years 121days GraysGhost Re: [BM][OT] Statistical Anomalies
   17years 121days GraysGhost Re: [BM][OT] Statistical Anomalies
    17years 121days BladeRunner Re: [BM][OT] Statistical Anomalies
    17years 120days GraysGhost Re: [BM][OT] Statistical Anomalies
     17years 120days BladeRunner Re: [BM][OT] Statistical Anomalies
      17years 119days GraysGhost Re: [BM][OT] Statistical Anomalies
       17years 119days ksnake Re: [BM][OT] Statistical Anomalies
        17years 119days GraysGhost Re: [BM][OT] Statistical Anomalies
    17years 121days Calsir Re: [BM][OT] Statistical Anomalies
Next thread
Posting elapsed timePosted bySubject

17years 113days ksnake [GAMES][OT] batracer
Previous thread
Posting elapsed timePosted bySubject

17years 121days blan86 [BM][BUG] Possible fuel bug
17years 121days scotireb Re: [BM][BUG] Possible fuel bug
 17years 121days litehoof Re: [BM][BUG] Possible fuel bug
  17years 121days blan86 Re: [BM][BUG] Possible fuel bug
   17years 120days imdog Re: [BM][BUG] Possible fuel bug
   17years 120days Zarby Re: [BM][BUG] Possible fuel bug
    17years 119days flying_neko Re: [BM][BUG] Possible fuel bug
Page generated in: 22.00012 milliseconds.