minimax_player:带象棋的Minimax算法

时间:2021-02-20 02:03:14
【文件属性】:
文件名称:minimax_player:带象棋的Minimax算法
文件大小:87KB
文件格式:ZIP
更新时间:2021-02-20 02:03:14
C++ minimax_player 安装 要安装minimax国际象棋算法,只需运行make 如果要使用自动播放器,则有两个python依赖项。 跑: pip install undetected-chromedriver pip install chess Minimax算法 运行make ,您将看到一个名为playChess的二进制playChess 。 使用此文件的格式为: ./playChess [gameType] [playerOneType] [playerTwoType] [-a cpuOneDepth] [-b cpuTwoDepth] [-q] 对于国际象棋,当前允许的唯一gameType是0。 playerOneType和playerTwoType对于CPU播放器(使用minimax)为0,对于人类为1。 如果播放器一是CPU,请使用-a [depth]指定要使用的m
【文件预览】:
minimax_player-main
----runChess.py(2KB)
----play.h(1KB)
----minimax.h(1KB)
----wrap.cpp(7KB)
----playChess.cpp(4KB)
----README.md(1KB)
----Makefile(183B)
----thc.cpp(468KB)
----thc.h(26KB)
----minimax.cpp(5KB)
----chessWeb()
--------util.py(2KB)
--------__init__.py(0B)
--------interact.py(2KB)
----wrap.h(3KB)
----play.cpp(3KB)

网友评论