Complete.Org: Mailing Lists: Archives: freeciv-ai: July 2002:
[freeciv-ai] Re: Borg AI.

[freeciv-ai] Re: Borg AI.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: Borg AI.
From: Per I Mathisen <per@xxxxxxxxxxx>
Date: Wed, 3 Jul 2002 10:30:26 +0200 (MEST)

On Wed, 3 Jul 2002, Raimar Falke wrote:
> How does the current AI and how would another AI answer the scenario:
> "I want to get this enemy city. How strong it is defended and how many
> units do I have to send?".

The current AI just checks... it is omniscient!

A non-omniscient AI would have to remember units spotted on the continent
and assume their are still around and remember the last spotting of the
city and assume it is still as well/poorly defended. Or it might simply
make an educated guess depending on information we have about the techs
the player has.

When our non-omniscient AI spots a city (say with an exploring caravel),
we don't know how many defenders the city has nor what kind they are. We
just note if it is defended or not. Often a number of cities will be
undefended, so can we go for them. When we don't find undefended cities,
things get more difficult. Often we will simply have to do an attack in
the dark without much knowledge of the enemy's real strength. Then we can
use the knowledge of how this attack fared to determine the quality of the
defenses of the area.

Coming up with a good solution is hard. I don't have one at the moment.


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