没有合适的资源?快使用搜索试试~ 我知道了~
easyAI:适用于游戏的Python人工智能框架
共64个文件
py:33个
rst:12个
html:3个
需积分: 50 6 下载量 85 浏览量
2021-04-06
04:25:34
上传
评论
收藏 89KB ZIP 举报
温馨提示
easyAI EasyAI(为完整文档)是一个纯Python的人工智能框架,适用于两人抽象游戏,如井字游戏,Connect 4,Reversi等。它可以轻松定义游戏的机制并与计算机对抗或解决游戏。 在引擎盖下,AI是一种Negamax算法,具有alpha-beta修剪和换位表,如。 安装 如果您已安装pip ,请在终端中输入 sudo pip install easyAI 否则,下载源代码(例如在),将所有内容解压缩到一个文件夹中,然后在终端的此文件夹中,键入 sudo python setup.py install 另外,您将需要安装Numpy才能运行某些示例。 一个简单的例子 让我们定义游戏规则,并开始与AI进行比赛: from easyAI import TwoPlayersGame , Human_Player , AI_Player , Negamax class GameO
资源推荐
资源详情
资源评论
收起资源包目录
easyAI-master.zip (64个子文件)
easyAI-master
easyAI
Player.py 2KB
__init__.py 374B
TwoPlayersGame.py 5KB
games
ThreeMusketeers.py 3KB
GameOfBones.py 1KB
TicTacToe.py 2KB
Reversi.py 4KB
AweleTactical.py 5KB
ConnectFour.py 2KB
Hexapawn.py 2KB
__init__.py 266B
Awele.py 3KB
Chopsticks.py 5KB
Cram.py 2KB
Knights-Kivy.py 5KB
Knights.py 3KB
TicTacToe-Flask.py 3KB
Nim.py 2KB
AI
Negamax.py 6KB
DictTT.py 3KB
solving.py 5KB
DUAL.py 2KB
NonRecursiveNegamax.py 7KB
__init__.py 237B
TT.py 4KB
Hashes.py 4KB
SSS.py 2KB
HashTT.py 2KB
MTdriver.py 3KB
README.rst 4KB
LICENCE.txt 1KB
setup.py 366B
docs
source
ai_descriptions.rst 2KB
get_started.rst 7KB
_themes
flask
relations.html 590B
theme.conf 206B
layout.html 750B
static
small_flask.css 976B
flasky.css_t 6KB
flask_small
theme.conf 184B
layout.html 683B
static
flasky.css_t 5KB
flask_theme_support.py 5KB
LICENSE 2KB
.gitignore 22B
README 1KB
conf.py 8KB
installation.rst 384B
speedup.rst 7KB
ref.rst 799B
examples
quick_example.rst 3KB
integrate.rst 835B
speedup_cython.pyx 2KB
games.rst 581B
examples.rst 169B
index.rst 2KB
crash_course.rst 1KB
_static
easyAI.css 462B
logo.jpeg 15KB
make.bat 7KB
Makefile 7KB
makehtml.sh 45B
ai_unittests.py 8KB
.gitignore 384B
共 64 条
- 1
资源评论
佐罗先生
- 粉丝: 31
- 资源: 4750
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功