Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2005:
[freeciv-ai] Re: A TODO item
Home

[freeciv-ai] Re: A TODO item

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jordi Negrevernis i Font <jnegrevernis@xxxxxxxxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: A TODO item
From: bh@xxxxxxxxxxxxxxxxxxx (Benoit Hudson)
Date: Tue, 31 May 2005 13:58:42 -0400

Generally a good idea.  I thought the AI already did it, but I guess I'm
wrong :)

There's a number of WAGs here that should be documented and made in to
constants so we can play with them more easily.

        -- Benoît

More comments follow:


On Tue, May 31, 2005 at 06:48:11PM +0200, Jordi Negrevernis i Font wrote:
>  /**************************************************************************
> +  This function does 2 things:
> +  1. Estimulate research of obsoleting techs for enemy wonders
> +  2. Deinsentivate research of obsoleting techs for own wonders
> +**************************************************************************/

'stimulate research want' and 'decrease research want' ?

> +  tech_want = MAX(2, tech_want / 20);

this is mysterious: why 20? why 2?

> +            /* now, we rise want for prerequisites */
> +         tech_type_iterate(k) {
> +           if (is_tech_a_req_for_goal(pplayer, k, tech_obs)) {
> +                pplayer->ai.tech_want[k] += tech_want / 2;

why tech_want / 2  rather than tech_want ?

> +                                 "decrising prereq %s with %d (%d)",

"decrease"



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