Yeah I was just biking in Vietnam and Cambodia and it's quite a different system with stuff all over the place. There is a kind of logic to it - you project their trajectory and yours and if there's no impact you keep going, otherwise you modify speed and direction in a minimal way to avoid impact regardless of going the wrong way on the wrong side of the road etc. It takes quite a bit of getting used to as a western driver though from a computational software point of view the above is probably a fairly simple algorithm.