Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4242) Clean up the goto route network protocol and
Home

[Freeciv-Dev] Re: (PR#4242) Clean up the goto route network protocol and

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4242) Clean up the goto route network protocol and route execution
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 16 May 2003 09:26:51 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 16 May 2003, Raimar Falke wrote:
> > Yes as a single variable, not per tile. If zero, don't attack if we
> > encounter a unit at our destination.
>
> > Encountering a non-allied unit in our path before our destination
> > should alwaysbe a mistake, and the goto should abort.
>
> You can construct cases where the unit knows that it will just win the
> fight.

Then make use of several gotos. There is never any advantage in making a
goto that includes a roadkill when you can make two gotos instead. From
the client's perspective, you can never assume to *know* that you will win
with absolute certainty.

  - Per




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