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.3a0.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file gameai_frame-0.1.3a0.tar.gz.

File metadata

  • Download URL: gameai_frame-0.1.3a0.tar.gz
  • Upload date:
  • Size: 6.2 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.3a0.tar.gz
Algorithm Hash digest
SHA256 e904ec09914d099c4b686f19551fa2fef42cc39edea7f1b015cd973ed8321c29
MD5 a41588610e3ec55f9f49aa5c67eec0c0
BLAKE2b-256 96283836951912b18f3f7d6331885f716833f040cb604637c5d7cc5eafa2bf89

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