Edax Gui将对Edax引擎播放奥赛罗
othellotk的Python项目详细描述
奥赛罗托克
伊达克斯的gui发挥奥赛罗对伊达克斯引擎。 用python3/tkinter编写并根据gpl v3授权+ (请参见名为license的文件)。 在linux上用edax 4.3.2和python 3.4.3进行了测试。
要求
Python3,Tkinter,Edax。
运行othelotk
有三种方法可以安装/运行它。
Run it from the source folder by running the run.py script:
python run.py
使用命令将其安装到系统上:
python setup.py install
This command should be run as root user. You can then run it with the command ‘othellotk’.
从pypi安装它
pip install othellotk
You can then run it with the command ‘othellotk’.
设置发动机路径
- Download the edax othello engine from http://abulmo.perso.neuf.fr This has a prebuilt binary for Linux 64 bit.
- Start othelloTk.
- Do Engine/Set Engine Path and set the engine path to the edax executable. This is called lEdax-x64 in the edax bin folder (if you are using Linux 64 bit).
- Start the game by left clicking to place a black stone.
用法
你玩黑色,电脑玩白色。 点击一个方块放置一块黑色的石头。 如果你发现没有合法的行动,你就可以通过 点击黑板上的任何地方。
edax允许您在名为 伊达克。将此文件复制到~/.othelotk/文件夹中 (或进入edax bin文件夹)。请参阅edax文档了解更多有关此的信息。
要显示调试消息,请使用-debug标志:
python run.py -debug (or othelloTk -debug if installed)
如果引擎移动时间太长,可以使用ctrl-m 立刻行动。使用时间控制菜单选项将时间设置为 快走。