This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: AI now goes after bases
- From: Eric McDonald <mcdonald at phy dot cmich dot edu>
- To: Hans Ronne <hronne at comhem dot se>
- Cc: xconq7 at sources dot redhat dot com
- Date: Sat, 3 Jan 2004 01:27:29 -0500 (EST)
- Subject: Re: AI now goes after bases
On Sat, 3 Jan 2004, Hans Ronne wrote:
> default. It's even easier to make a copy of the mplayer, though, and hack
> it. That's how we made the iplayer.
True. I will concede that it is easier, but:
(1) If someone else makes [positive] changes to the template file
(say mplayer.c), then the AI hacker does not get the benefits of
those in, say, megaplayer.c.
(2) As a corollary, if a bug is discovered in mplayer.c, then the
fix must be done not only in mplayer.c, but also iplayer.c and
megaplayer.c, provided that they still have the affected code in
common with mplayer.c.
(3) The duplicated code bloats the size of the Xconq sources with
little additional benefit. One could say that Xconq's entropy is
unduly increased. :-)
> >Yeah, but now we essentially have duplicated code with
> >go_after_victim and ai_go_after_victim. I personally would just
> >rename things like go_after_victim to ai_go_after_victim, leave
> >them in plan.c, and go from there.
>
> Agreed. Axcept I think ai_go_after_victim should stay where it is is ai.c.
That is fine with me, as long as we are then saying that ai.c is
in some sense "coequal" to plan.c and task.c, and not a layer
above them. The "layer above" mentality is what was driving me to
argue for the taxonomy that I did....
Eric