Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.85 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.85 KB

INSTRUCTIONS FOR UCSC

Requirements

  • user python 3.6.6 or 3.5.*
  • for mac users if matplotlib is giving trouble Check this link
    • If there is no visible plot add backend : macosx to ~./.matplotlib/matplotlibrc

Usage

  • Build project pip install -e <package-location>
  • Install any missing libraries with pip
  • Run agent python RunMe.py

References


GVGAI GYM

An OpenAI Gym environment for games written in the Video Game Description Language, including the Generic Video Game Competition framework. The framework, along with some initial reinforcement learning results, is covered in the paper Deep Reinforcement Learning for General Video Game AI.

Installation

  • Clone this repository to your local machine.
  • To install the package, run pip install -e <package-location> (This should install OpenAI Gym automatically, otherwise it can be installed here
  • Install a Java compiler javac (e.g. sudo apt install openjdk-9-jdk-headless)

Usage

Demo video on YouTube

Once installed, it can be used like any OpenAI Gym environment.

Run the following line to get a list of all GVGAI environments.

[env.id for env in gym.envs.registry.all() if env.id.startswith('gvgai')]

Resources

GVGAI website

GVGAI-Gym (master branch)

Demo video on YouTube