if(4|x|>10|y|) west/east if(4|y|>10|x|) north/south else northwest/northeast/southwest/southeast if(x>0&&y>0) north,east if(x>0&&y<0) south,east if(x<0&&y<0) south,west if(x<0&&y>0) north,west