Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
Re: [Freeciv-Dev] Space race patches
Home

Re: [Freeciv-Dev] Space race patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Space race patches
From: Nicolas BRUNEL <brunel@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Feb 1999 23:37:00 +0100 (CET)

> > +++ freeciv-01.26-spacerace/server/plrhand.c
> > 
> > +    turns = game_turns_between_years(pplayer->spaceship.launch_year,
> > +                                    arrival_year) - 1;
> > +    crash_probability = 1.0 -
> > +      pow(spaceship_success_rate(&pplayer->spaceship), 1.0 / turns);
> 
> Does this mean the success rate means a per-turn failure chance?
> That seems a bit harsh and a different again meaning to
> "success chance".
>
In civI doc i read :
        probability of success : approximate percent of transportable
inhabitants of the space ship who will survive to the journey.
This number depends on the quantity of food and energy provided and on
the fligth time. The faster the journey, the higher the probability of
success.

Bye, 



[Prev in Thread] Current Thread [Next in Thread]