add king_meet

2 views
Skip to first unread message

lerosua

unread,
Apr 20, 2009, 9:50:10 AM4/20/09
to gmchess-dev
添加了将帅碰头的检测,
king_meet()
获取将与帅的x轴,对比是否相等。
相等的情况下再检测其中的位置上有没有棋子。无棋子则碰头了,为非法局面。
Reply all
Reply to author
Forward
0 new messages