Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)
Home

[Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>, Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Cc: per@xxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Fri, 12 Apr 2002 19:21:20 -0700 (PDT)

--- "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx> wrote:
> At 01:04 PM 02/04/12 +0100, Gregory Berkolaiko wrote:
> >On Fri, 12 Apr 2002 per@xxxxxxxxxxx wrote:
> >
> >> > > - The AI should not attack if it stands a very high chance of losing
> (ie
> >> > > mech inf on a mountain). Aircraft are expensive. Waste some commoners
> >> > > instead.
> >> >
> >> > I use the standard want equation (meaning that on average we'd be better
> >> > off after attacking)
> >> 
> >> Yes, but it doesn't seem to check if we have a good chance of winning. It
> >> will just attack the "best" target, even if "best" is abyssmally bad.
> >
> >what do you propose as a measure of "good chance of winning".
> >
> >Examples:
> >1. you put 1$ on red and it wins with prob 1/2 and you get back your 1$ 
> >plus 0.5$.  Is it good?  Do you play?
> >2. you put 1$ on something that wins with prob 0.75 and you get back your 
> >1$ plus 0.3$.  It this good?
> >3. you put 1$ on number 13 which wins with prob 1/32 and you get back you 
> >1$ plus 100$.  Is this any good?
> 
> Missing concepts ...
> 
> 1)  Units should try to stay alive. It is better to kill two $1 units you can
>     easily knock out than to die trying to get one $3 one. Unless there are
>     compelling reasons always wait for a 3/2 advantage on attack or something
>     more than simple 1:1. Attack at less than 1:1 only in critical need or
>     when the units are really not needed. In general, better odds will
>     usually arise if you delay (safely of course).

Better odds are not all that is important. Consider the fanatic unit. It costs
only 20 shields to build, so tossing away 2 of them to take out a mech inf is a
net gain. It does not matter if your odds of success are low. So, toss away the

better than 1:1 win ratio here.


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


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