Question on order of commands and processing

Hi folks,

I want to make sure I understand how commands are processed.

Assume I have bots A and B.

A is one position away from completing a trail and B is one position away from pruning said trail. In the current tick, A issues a command to move to its own territory and complete the trail and B issues a command to move onto A’s trail to prune it.

Am I correct in saying the below?

  • If A issues the command first, it will complete its trail and B will just move into A’s territory in the next tick.
  • If B issues the command first, A will be pruned.

As far as documentation goes, you are correct.

The bot whose command is oldest will have its move executed first as well.

1 Like