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

human 如何落子 #1

Open
sakerbug opened this issue Jan 5, 2021 · 6 comments
Open

human 如何落子 #1

sakerbug opened this issue Jan 5, 2021 · 6 comments

Comments

@sakerbug
Copy link

sakerbug commented Jan 5, 2021

在选择运行GUI.py后选择Hunman first。 然后怎么输入字符串来落子呢?

@GuoYi0
Copy link
Owner

GuoYi0 commented Jan 5, 2021

没有可视化界面吗?直接用鼠标点击可视化棋盘

@sakerbug
Copy link
Author

sakerbug commented Jan 5, 2021

我是使用pycharm 专业版使用远程python环境运行的没有生成可视化界面

@GuoYi0
Copy link
Owner

GuoYi0 commented Jan 5, 2021

那就尴尬了,可能你的远程python环境不支持pygame可视化?

@GuoYi0
Copy link
Owner

GuoYi0 commented Jan 5, 2021

加上这句话也不行。
os.environ["SDL_VIDEODRIVER"] = "dummy"
服务器没有可视化的界面,哎

@sakerbug
Copy link
Author

sakerbug commented Jan 5, 2021

我确实是加上了这一行代码才能继续运行的不然就会报没有视频设备的错。谢谢回答我的问题。

@GuoYi0
Copy link
Owner

GuoYi0 commented Jan 6, 2021

大佬,要是能在服务器上出现pygame的可视化界面了,求指点指点哈

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