Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
Re: [Freeciv-Dev] Strange idea :)
Home

Re: [Freeciv-Dev] Strange idea :)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Strange idea :)
From: schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Peter Schaefer)
Date: Fri, 26 Feb 1999 22:28:10 +0100

>There is something as a paradox.         
>If we need a powerfull language, we can take c.  

True :-) So maybe one should discuss which language 
would be useful. The guy who made civ on python/tcl/tk
used CLIPS to control the ai (name of guy is sreiz somewhere in .nl).
Don't know if it's a good choice.
If I may add my 2cents, the scripting language that has detailedly be 
proposed seems to be useful for scripting one#s own city develoment, 
but not the ai. I think this because it does not have a mechanism for
resolving ties smartly, i.e. The ai will always do the same,
which is bad as it e.g will build ports and city walls either in no cities
or in all cities, repeat build settlers to clean pollution even if
settler gets killed by enemy every turn (civ1.0 mps ai), etc. ..
Adding a neural network like mechanism to it would be nice i.e.
(ascii coming in ... )

Alternatives:
city select activity -- build settler  --  0.50x -- space on continent
                                       -- -0.33x -- enemy presence 
                                       -- -0.33x -- enemy units close
                                       -- -1.00x -- ( city size < 2 )

                     -- build milita   -- +0.50x -- enemy units close
                                       -- -0.66x -- city well defended

                     ** noise= random(0.10)
                     ** mode = maximum
That is:

decision node - alternative -- weight -- condition in [0.0..1.0]
              ** (neural) node operation mode modifiers 

Also would be cool if one could enter the command language in a tree
structure like the above ;-)
You also could fry your employers/schools computer by evolving
computer opponents through random mutation and selections.
If using guile, one could choose/develop the language independantly
from freeciv.                                                 ^e

:-)

--
Peter Schaefer           mailto:schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx     
X-Url: http://wwwhoppe.math.uni-augsburg.de/~schaefer/
coz' hackers LOVE irix

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