Edax Gui将对Edax引擎播放奥赛罗

othellotk的Python项目详细描述


奥赛罗托克

伊达克斯的gui发挥奥赛罗对伊达克斯引擎。 用python3/tkinter编写并根据gpl v3授权+ (请参见名为license的文件)。 在linux上用edax 4.3.2和python 3.4.3进行了测试。

要求

Python3,Tkinter,Edax。

运行othelotk

有三种方法可以安装/运行它。

  1. Run it from the source folder by running the run.py script:

    python run.py

  2. 使用命令将其安装到系统上:

    python setup.py install

    This command should be run as root user. You can then run it with the command ‘othellotk’.

  3. 从pypi安装它

    pip install othellotk

    You can then run it with the command ‘othellotk’.

设置发动机路径

  1. Download the edax othello engine from http://abulmo.perso.neuf.fr This has a prebuilt binary for Linux 64 bit.
  2. Start othelloTk.
  3. 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).
  4. 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 立刻行动。使用时间控制菜单选项将时间设置为 快走。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java Double。将长位加倍到C#位转换器。ToDouble   java如何使用正则表达式从固定的Y位数中提取最后的X位数?   java如何显示ChatMessage类列表中的字符串消息属性?   java从JSON或XML提要导入数据,并在Android中创建列表   在整数之间使用按位AND运算符的java好处?   java从Android中的Bean类获取空值?   java会话id对另一台服务器意味着什么?   java未选择案例时开关的工作方式   java组织。openqa。硒。SessionNotCreatedException:无法创建新的远程会话。在emulator中初始化安卓驱动程序时   JavaSWT父和子对话框通信   java请确保java_HOME指向JDK而不是JRE   java用户即使在成功登录后也是匿名的   java控制器单元测试无法自动连接所需的bean   Java小程序类文件