Skip to main content

Universal game AI system for game developer

Project description

System Overview

Universal game AI system. Game developers need to provide functions like those provided by Open-AI game, so they can train their game AI.

Use Instructions
1.For games that use images as state
  1. use “ init_UDQN(game, inputImageSize, choose_optimizers, learning_rate) “ to create your network object.

  2. the object has the function “run(game, inputImageSize, total_steps, total_reward_list, num, step_num)” to train.

  3. “ plot_cost() “ shows the gradient change graph

2.For games that take parameters as state
  1. use “ Population(population_num) “ to create your Population object.

  2. the object has the function “ initPopulation(self, net_in, net_h1, net_h2, net_out)” to create your network.

  3. the object has the function “ runGame(game)” to train.

Environment Instructions

Python3.7+Graphaiz2.38

Directory Structure Instructions

HanhanAI

__init__.py

ga_brain.py

population

universal_dqn.py

LICENSE

README.rsd

setup.py

V2.0.0 version

  1. Add neural network with genetic algorithm

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

HanhanAI-2.0.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

HanhanAI-2.0.0-py2.py3-none-any.whl (11.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file HanhanAI-2.0.0.tar.gz.

File metadata

  • Download URL: HanhanAI-2.0.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for HanhanAI-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ec381e4425e36056f65b20cf36b59e836b3405aa8cff8e0c9921d847b1466cc8
MD5 8208c39250410c4d4f964ef947e79676
BLAKE2b-256 9bf811f382ac5b6ce25f78f9c5f490cbd198b149a48d5436fa257f26fec92845

See more details on using hashes here.

File details

Details for the file HanhanAI-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: HanhanAI-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for HanhanAI-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b83113e4d29f82be09fdecd966cbe321e1bd465513968f3bc7935f3223341b30
MD5 998bbe12c110a616d1cc10dd0b25f349
BLAKE2b-256 63f5d0579f7bce89b15fc7911d42e5ff8ff42ee959bad5c08a9f00f28c9be9b3

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