"3 squares away" is not entirely obvious though. The definition as it stands is mathematically unambiguous. Obviously, it's not how you teach the rule to a beginner, but that's irrelevant.
If "nearest" is unambiguous then "3 squares away" is also unambiguous. The nearest squares are 1 square away, the ones nearest to those are 2 squares away, etc.