棋盘，对角线判断，深搜