Groups
Groups
Sign in
Groups
Groups
gmchess-dev
Conversations
About
Send feedback
Help
死棋检测的思考
4 views
Skip to first unread message
lerosua
unread,
Apr 19, 2009, 11:37:20 PM
4/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gmchess-dev
所谓死棋的判断,方法是生成目前棋子的所有着法,然后依次检测此着法是否可行,如果都是非法着法,那么即为将死。
如果使用这种方法,那么我就又必须写一个生成所有着法的函数。关于检测将军,将死,差不多实现了好几样引擎里已经实现的东西。加个搜索自己也能做引擎
了,借用别人一句话,这未必也耦合得太紧了。
思考中。
Reply all
Reply to author
Forward
0 new messages