Go(weiqi,baduk)游戏的良好框架?

时间:2022-07-03 11:33:33

I enjoy the game of Go (also known as weiqi in China or baduk in Korea). I want to create a program (an evaluation function) to play it.

我喜欢Go游戏(在中国也被称为weiqi或在韩国被称为baduk)。我想创建一个程序(评估函数)来播放它。

I would prefer if the framework handled two important tasks:

如果框架处理两个重要任务,我更愿意:

  • Handle rules for the game, including captures, ko rules, and final scoring.
  • 处理游戏规则,包括捕获,ko规则和最终得分。

  • Handle communication between a server like KGS and my program.
  • 处理像KGS这样的服务器和我的程序之间的通信。

Also, my home machines run Linux or Mac OS X; I cannot use any only-Windows platforms.

此外,我的家用机器运行Linux或Mac OS X;我不能使用任何Windows平台。

Thank you!

2 个解决方案

#1


7  

GNU Go is a great open source Go program. Its evaluation function is well-documented and it provides an easy way to output the explanation for every move the program made. You can either replace the evaluation function from scratch with your own, or tinker with the existing one.

GNU Go是一个很棒的开源Go程序。它的评估功能有详细记录,它提供了一种简单的方法来输出程序所做的每一步的解释。您可以从头开始用自己的评估函数替换评估函数,也可以修改现有的评估函数。

Open Go is an open source tool with code for communicating using the Go Modem Protocol. I believe that's what you need for the second part of your question.

Open Go是一个开源工具,其代码用于使用Go调制解调器协议进行通信。我相信这就是你问题的第二部分所需要的。

#2


0  

This is an old question, but for people out there interested in an Android implementation of Go (Baduk/Weiqi) take a look at my project on https://github.com/amgreg/AndroidGo

这是一个老问题,但对于那些对Go(Baduk / Weiqi)的Android实现感兴趣的人来看看我在https://github.com/amgreg/AndroidGo上的项目

It's a simple validator with a user-interface attached. Drawbacks are: No AI; no scoring; no server connection.

它是一个附加了用户界面的简单验证器。缺点是:没有人工智能;没有得分;没有服务器连接。

#1


7  

GNU Go is a great open source Go program. Its evaluation function is well-documented and it provides an easy way to output the explanation for every move the program made. You can either replace the evaluation function from scratch with your own, or tinker with the existing one.

GNU Go是一个很棒的开源Go程序。它的评估功能有详细记录,它提供了一种简单的方法来输出程序所做的每一步的解释。您可以从头开始用自己的评估函数替换评估函数,也可以修改现有的评估函数。

Open Go is an open source tool with code for communicating using the Go Modem Protocol. I believe that's what you need for the second part of your question.

Open Go是一个开源工具,其代码用于使用Go调制解调器协议进行通信。我相信这就是你问题的第二部分所需要的。

#2


0  

This is an old question, but for people out there interested in an Android implementation of Go (Baduk/Weiqi) take a look at my project on https://github.com/amgreg/AndroidGo

这是一个老问题,但对于那些对Go(Baduk / Weiqi)的Android实现感兴趣的人来看看我在https://github.com/amgreg/AndroidGo上的项目

It's a simple validator with a user-interface attached. Drawbacks are: No AI; no scoring; no server connection.

它是一个附加了用户界面的简单验证器。缺点是:没有人工智能;没有得分;没有服务器连接。