stockfish:将Stockfish国际象棋引擎与Python集成

时间:2021-05-01 21:34:52
【文件属性】:
文件名称:stockfish:将Stockfish国际象棋引擎与Python集成
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-01 21:34:52
chess-engine chess stockfish Python fish鱼 实现一个易于使用的Stockfish类,以将Stockfish国际象棋引擎与Python集成在一起。 安装 $ pip install stockfish Ubuntu或Debian # apt install stockfish 苹果系统 $ brew install stockfish 功能和用法示例 初始化干鱼类 您应该在操作系统中全局安装stockfish引擎,或者在类构造函数中指定二进制文件的路径 from stockfish import Stockfish stockfish = Stockfish ( "/Users/zhelyabuzhsky/Work/stockfish/stockfish-9-64" ) 有一些默认引擎的设置: { "Write Debug Log" : "false" , "Contempt" : 0 , "
【文件预览】:
stockfish-master
----mypy.ini(37B)
----.github()
--------workflows()
----stockfish()
--------__init__.py(30B)
--------models.py(9KB)
----LICENSE(1KB)
----setup.cfg(55B)
----setup.py(1KB)
----README.md(4KB)
----tests()
--------stockfish()
--------__init__.py(0B)
----.gitignore(116B)

网友评论