While you are calculating the path you could penalize squares where there is a change of direction, adding a penalty to their G scores.

 
  • 当你计算路径的时候,要处罚那些改变方向的方块,给它们一个附加的G值扣分。
今日热词
目录 附录 查词历史