Calculates the closest direction to a specified point on the board.
计算到图中指定点最接近的方向。
原文:https://www.cnblogs.com/jiahuafu/p/12235606.html