[Freeciv-Dev] Re: Client AI development
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
+----------------------------------------------------------
- [Freeciv-Dev] Re: Client AI development, (continued)
- [Freeciv-Dev] Re: Client AI development, Cameron Morland, 2001/04/19
- [Freeciv-Dev] Re: Client AI development, Daniel Sjölie, 2001/04/19
- [Freeciv-Dev] Re: Client AI development, Cameron Morland, 2001/04/20
- [Freeciv-Dev] Re: Client AI development, Raimar Falke, 2001/04/20
- [Freeciv-Dev] Re: Client AI development, Jarda Benkovsky, 2001/04/20
- [Freeciv-Dev] Re: Client AI development, Baumans, 2001/04/20
[Freeciv-Dev] Re: Client AI development, Raimar Falke, 2001/04/19
[Freeciv-Dev] Re: Client AI development, Tony Stuckey, 2001/04/19
[Freeciv-Dev] Re: Client AI development, Raimar Falke, 2001/04/21
|
|