Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,我设法让他在windows上和sabaki连接,但是他自己断开了 #2

Open
shengkelong opened this issue Mar 9, 2022 · 4 comments

Comments

@shengkelong
Copy link

image

@CGLemon
Copy link
Owner

CGLemon commented Mar 9, 2022

依照圖片顯示,這是因為沒有輸入正確的 gtp 指令導致,程式並沒有斷開連接,最後輸入的指令為 B 100,gtp 並沒有這個指令。

還有一個我想問你的事,就是有人回報使用 windows 的 powershell 並沒有辦法正常連接 sabaki,請問你是用哪種方法連接的?

@shengkelong
Copy link
Author

我只是简单的写了一个bat文件用来执行,不过看起来很有问题。B100是sabaki自己输入的,当我下白棋它会自动输入w100.

@shengkelong
Copy link
Author

shengkelong commented Mar 9, 2022

而且即使我自己输入命令他也不会在sabaki的棋盘上落子
image
实际上在运行其他引擎的时候会出现类似命令

@CGLemon
Copy link
Owner

CGLemon commented Mar 9, 2022

#1 中,有人使用 pyinstaller 打包 dlgo.py 成為執行檔,之後就可以和 sabaki 正常連接了,可以試試看這個方法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants