- if you see an obstacle turn to avoid it, else
- if you see the tail lights of another robot, follow it, else
- go straight ahead.
The robots will thus form an orderly queue, except that because the arena is too small the line very quickly gets broken when the lead robot encounters a wall. However, that all just makes for an interesting – and constantly changing – swarm.