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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hanabi_learning_environment_mahesh-0.0.2.tar.gz.
File metadata
- Download URL: hanabi_learning_environment_mahesh-0.0.2.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eca0b23039908237bee0ef93e7099e918e3b3ff44ba112a8c4a4a5e533eb646
|
|
| MD5 |
c0fad521b75e5df660c30ebe89d555bc
|
|
| BLAKE2b-256 |
aaf03bf97e1a930c4f8049023df1e82b68b043ec5a7c3acf987a5398953ac129
|