Re: AI is really confused about wonders

Lo'oris <looris-ml-GjmNmxCJ0XHPG/[email protected]> Fri, 11 Feb 2005 14:04:11 +0100
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
Il giorno 11/feb/05, alle 09:32, Eddie Anderson ha scritto:

> 1) Only one city at a time (per AI per continent) should be allowed
>    to build a wonder.
>
>        Before the AI tells a city to start building a wonder, the AI
>    should check to see if any other of its cities (on that
>    continent) are already building a wonder.  If there are none,
>    then go ahead and start building a wonder in that city.

> 5) If a defensive (or other) unit is needed in the wonder-building
>    city, then one of the cities building a caravan should switch its
>    production to the needed unit (and then send that unit to the
>    wonder-building city).

could be improved:
a) if there is more than one city willing (and able) to build a wonder, 
only the best one starts it.
best one is based on: "high production" + "city position" (i.e. not 
many enemies nearby).
"high production" implies not caring about trade and caring about food 
only if a city growth is really close to come.

b) if the choosed city has got no good defense units, either a nearby 
city sends some, or builds some units before starting wonder. In no 
case a city with a wonder could be unprotected.

c) besides caravans, in case of need, even old obsolete units could be 
disbanded to gain production.

d) before building a wonder, if factory is not present in the city, AI 
should calculate if it is faster to build the wonder, or to build the 
factory and then the wonder. This is especially true if you have hoover 
dam and the city could support it (does hoover dam counts as hydro 
plant even in cities that could not have one?).

e) in case of pollution, all free engineers should have maximum 
priority in cleaning the wonder-building city. Building mines (and 
railroads, especially on iron) in that city should be high priority 
too.

question 1) when an AI contracts about giving away or getting cities, 
is he aware of wonders? And in war, when trying to conquer cities or 
inciting revolts?

question 2) is AI aware of other civilizations building wonders?

-- 
Lo'oris un SemidioElettrico che quando parla evoca tsunami 
assassini,tristemente cavalcati e domati da Polli di silicone,Pirati 
boriosi o da Iena Priskin.....
  - Tommy, lo Stregatto Astratto giocoloso di quartiere

Situs: http://looris.ath.cx/~looris