Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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

  1. Can save network

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for HanhanAI, version 2.0.2
Filename, size File type Python version Upload date Hashes
Filename, size HanhanAI-2.0.2-py2.py3-none-any.whl (11.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size HanhanAI-2.0.2.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page