Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2004:
[freeciv-ai] Re: A TODO list for AI
Home

[freeciv-ai] Re: A TODO list for AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: A TODO list for AI
From: Benoit Hudson <bh@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Apr 2004 17:34:36 -0400

On Wed, Apr 14, 2004 at 01:28:40PM +0000, Per I. Mathisen wrote:
>  - Better coordination of 'Rapture', ie trying to make cities celebrate so
> that they can grow, tying in the use of luxuries, elvises and tax. Never
> try half-way (as the AI often does now), either go for rapture or only do
> as much luxuries as necessary to avoid revolution/unrest.

A partial answer would be to fix the problem the CM has with thinking
that a city of size 2 can be in rapture.   A patch to do that is
attached.  Hard-coding '3' is bad, but I'm not sure how better to fix
this.  Add a function in city.[ch] ?

Once we fix that, then we can make the AI always use a celebrate bonus
of +50 or more, and put a weight on luxuries of zero.  That'll make the
AI try hard to celebrate without making it maximize luxuries for their
own sake.

This is only a partial answer because you pretty much need some luxuries
in the tax to celebrate.

        -- Benoît

Attachment: cm_celebrate_requires_pop3.patch
Description: Text document


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