← 开源
google-deepmind

hanabi-learning-environment

hanabi_learning_environment is a research platform for Hanabi experiments.

Model DevelopmentEnvironmentsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
668
Star
164
Fork
+-1
本周
12
贡献者
创建于 2019-01-31 · 更新于 2026-10-04 · 今日第 14940 名
主要开发者
README

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