[Freeciv-Dev] Re: Preparations for other AIs and humans
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> > > What do you think about this? Where would you put the code?
> >
> > Client all the way. Then
>
> Ok. Are there any special considerations about the interface?
I rather not try to design the client AI right now - I don't have the time.
> > 1) We don't have to worry about cheating. (half reason for goto in
> > client)
>
> As I mentioned in another email it is sometimes necessary to have more
> information than the client currently knows/remembers. Example is the
> auto-build-city thing: after you gave it some constraints it will
> search a place. However if the surrounding areas was explorerd but is
> now fogged the code has currently now way of finding the best possible
> square. There need to be some kind of history.
Well, then make a history :). But you don't strictly need a history to
evaluate a tile; if a tile is fogged the client still remembers what terrain
the tile contained when it last sawi it, of course. So just like a human
player you have to use what you know.
-Thue
[Freeciv-Dev] SV: Preparations for other AIs and humans, Erik Sigra, 2001/01/13
|
|