Skip to main content

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


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.2.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file gameai_frame-0.1.2.tar.gz.

File metadata

  • Download URL: gameai_frame-0.1.2.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

Hashes for gameai_frame-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a9fd7210f0f0d0d50fa539528bd8ead5209a11c626284be49daaccf401a00904
MD5 b0077621ff1376e595c2b0a8bcdd4f9d
BLAKE2b-256 93946a708ff8a3fa7e9eb58830f9a8c63716ad44bd95b8eff9ada33ed84406f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page