This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Path finding
- From: Hans Ronne <hronne at comhem dot se>
- To: Eric McDonald <mcdonald at phy dot cmich dot edu>
- Cc: xconq7 at sources dot redhat dot com
- Date: Tue, 27 Apr 2004 00:53:34 +0200
- Subject: Re: Path finding
- References: <c511a0938656e0b68d3f9ab14f9b40a9@localhost>
>> Another thing is that the standard game doesn't make or use
>>transports. Try setting up a standard game between a few
>>computer players and watch what they do for a few turns.
>
>I believe this has something to do with Hans fiddling with
>roll_dice or some such call. It was part of a hack to get rid of
>some of the sync errors that the pathfinding created.
No, my hack had nothing to do with transportation. It just eliminated a
flip_coin call where xconq would chose randomly between two equally good
move directions. By making the code more deterministic, I was able to fix
some (but not all) of the sync errors.
The real reason why transportation does not work any more is simply that it
is not supported i the current version of the path-finding code. Peter was
working on a version that did, but he never finished the job.
Hans