Boringlamb's cnblog - Just like a Taurus!

Yesterday is History. Tomorrow is a Mystery, and Today is a gift. That's why we call it the Present.

导航

大道五目Flash英文版(Renju Problems)程序分析之禁手判断

现在界面已经完成了,

 

刚刚完成了禁手算法,把代码共享出来:

Code

就是通过一个递归判断是否当前下子为禁手。

测试后发现可以判断复杂的禁手,如:


posted on 2008-11-04 14:10  Boringlamb  阅读(546)  评论(0编辑  收藏  举报