Skip to main content

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.2 version

  1. Can save network

Release files for HanhanAI 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HanhanAI 2.0.2
File Size Uploaded
HanhanAI-2.0.2.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for HanhanAI 2.0.2
File Interpreter ABI Platform
HanhanAI-2.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 21.3 kB

Release files / HanhanAI-2.0.2.tar.gz

Download URL HanhanAI-2.0.2.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6730f62f2dc55b20408e4bdcbdab2ed94cc4f6b9add5049f2c40ccd757d8563a
BLAKE2b-256 checksum
How to use checksums
b9eb3874eb146f00a8635b6cec7afc96d644514b680c105e1c4e63c74540b154
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / HanhanAI-2.0.2-py2.py3-none-any.whl

Download URL HanhanAI-2.0.2-py2.py3-none-any.whl
Size 11.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ca3277ef35cff88b990631bbad0686565e5f32d8a593fb68530e65229a0c684f
BLAKE2b-256 checksum
How to use checksums
f4a2947e503eebf8605f0688b3bd33fb85a2862b1537f5408352017e8877cc7a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page