Skip to main content

Learning environment for the game of Hanabi

Project description

This is not an officially supported Google product.

hanabi_learning_environment is a research platform for Hanabi experiments. The file rl_env.py provides an RL environment using an API similar to OpenAI Gym. A lower level game interface is provided in pyhanabi.py for non-RL methods like Monte Carlo tree search.

Getting started

Install the learning environment:

sudo apt-get install g++            # if you don't already have a CXX compiler
sudo apt-get install python-pip     # if you don't already have pip
pip install .                       # or pip install git+repo_url to install directly from github

Run the examples:

pip install numpy                   # game_example.py uses numpy
python examples/rl_env_example.py   # Runs RL episodes
python examples/game_example.py     # Plays a game using the lower level interface

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

hanabi_learning_environment_mahesh-0.0.2.tar.gz (1.8 MB view details)

Uploaded Source

File details

Details for the file hanabi_learning_environment_mahesh-0.0.2.tar.gz.

File metadata

File hashes

Hashes for hanabi_learning_environment_mahesh-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4eca0b23039908237bee0ef93e7099e918e3b3ff44ba112a8c4a4a5e533eb646
MD5 c0fad521b75e5df660c30ebe89d555bc
BLAKE2b-256 aaf03bf97e1a930c4f8049023df1e82b68b043ec5a7c3acf987a5398953ac129

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