maybe a generitic game ai frame :)
Project description
#GameAI-Frame? 基于神经网络和遗传算法的游戏AI框架,可以用于多种游戏(大概)
示例:https://github.com/Iyrian/GameAI-Frame-
##内容说明 GameRole.py : 声明了运用该AI框架的游戏所必须提供的数据和重载的函数
Matrix.py, NeuroNetwork.py, Population.py : 神经网络 + 遗传算法的实现。如果不是要改进算法,可以不用管它们
global_vars.py : 提供了神经网络和遗传算法的参数,将算法绑定到特定游戏时要适当修改这些参数
##如何将AI框架绑定到特定游戏 示例中展示了如何将贪吃蛇游戏绑定到框架
当然绑定不一定要知道游戏内部数据,只要有方法在GameRole.look()中获得神经网络的输入(vision)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gameai_frame-0.1.1.tar.gz
(6.0 kB
view details)
File details
Details for the file gameai_frame-0.1.1.tar.gz.
File metadata
- Download URL: gameai_frame-0.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac2b67ff6fbe4b9d29a22d279ed3d2b89b81c8215a2b01fa04309c0c640ddb0
|
|
| MD5 |
0348e299a9773052384dfc9bd9b22e3d
|
|
| BLAKE2b-256 |
4b45f6954c66c8a5ef658e90829f1f6f4d1933912af5fc19131c90e13226b206
|