Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: [RFC] Path finding interface
Home

[Freeciv-Dev] Re: [RFC] Path finding interface

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC] Path finding interface
From: Markus Linnala <maage@xxxxxxxxx>
Date: 10 Apr 2002 21:08:12 +0300
Reply-to: Markus Linnala <maage@xxxxxxxxx>

Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx> writes:

> 2. Finding the shortest and safest path for a trireme (see anxious trireme 
> bug):
> This leads to the problem which is hardest to solve IMO:
> 3. Take into account the possibility to end move early to stay out of 
> trouble.

Like offensive diplomat code where you propably want to position
your diplomats at 2 moves from city but not inside fog of war.
You also have to take into account move cost to city. So only
sure position is marked with b. So you have to plan path
beforehand and look whole path.

# - fog of war
C - city
. - tile at city radius
M - mountain

#######
##...b#
#.M...#
#..C..#
#.....#



-- 
//Markus


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