maybe a generitic game ai frame :)
Project description
GameAI-Frame?
基于神经网络和遗传算法的游戏AI框架,可以用于多种游戏(大概)
内容说明
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.1a0.tar.gz
(6.0 kB
view details)
File details
Details for the file gameai_frame-0.1.1a0.tar.gz.
File metadata
- Download URL: gameai_frame-0.1.1a0.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 |
ba93e83d9c7d8c4025f68bcab6671a346f2bb44132ba9122088683ddbf3af851
|
|
| MD5 |
c1ff2e2d72ecd4f5ab095c3632d18e4f
|
|
| BLAKE2b-256 |
0654d9df90f8866f881dc71d566d6cddfff2fc76237ef302278bbefc2c3376cb
|