added better obstacle tracing based on which direction yields a minimum distance to the opponent.