Page 1 of 1

Measure and compare projected travel times

Posted: 29 Nov 2018, 08:20
by AMWild
I would like to be able to measure and compare projected travel times of bots.

For example (rather simplistically), If travel_time(nearest enemy seeking a resource, nearest resource to which an enemy is moving) > travel_time(me, nearest resource to which an enemy is moving) Then grab resource an enemy is moving toward Else move toward enemy base nearest to a resource an enemy is moving toward.

This would mean that proper decisions could be made based upon relative distances between objects and bot movement speeds.