Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2001:
[Freeciv-Dev] Re: Client AI development
Home

[Freeciv-Dev] Re: Client AI development

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <rf13@xxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Client AI development
From: Cameron Morland <cjmorlan@xxxxxxxxxxxx>
Date: Fri, 20 Apr 2001 03:17:25 -0500 (EST)
Reply-to: <cameron@xxxxxxxxxx>

La 2001-04-20, Raimar Falke skribis:

> AFAIK yes. However it is unknown to me what goal stands behind
> auto_arrange_workers(). auto_arrange_workers() also doesn't take city
> revolts and entertainers into account.

Right. This should be possible by adding a few additional behaviours. Some
parts of the current AI are remarkably good, and there is 7292 lines of
code in the ai directory. Any of that which can be used as a basis for
future expansion is worth keeping, unless a better way could be done
simply.

That being said, we must also be willing to throw away brilliant pieces of
code that don't do what we need; one of my co-workers was working on a
navigation system for one of our robots, and 500 lines of code was doing a
crummy job. Then he moved two sensors, and made it work in 20 lines.
Getting the _right_ code can be tricky.

+----------------------------------------------------------
| PGP http://www.eng.uwaterloo.ca/student/cjmorlan/pgp.txt
| cjmorland@xxxxxxxxxxxx
|
| Thought is not a management function.
|     --John Ralston Saul
+----------------------------------------------------------





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