hanabi-learning-environment
hanabi_learning_environment is a research platform for Hanabi experiments.
File Explorer
Download Latest Version (.zip)- CMakeLists.txt
- game_example.cc
- game_example.py
- README.md
- rl_env_example.py
- hanabi_rainbow.gin
- __init__.py
- checkpointer.py
- iteration_statistics.py
- LICENSE
- logger.py
- sum_tree.py
- __init__.py
- dqn_agent.py
- prioritized_replay_memory.py
- rainbow_agent.py
- README.md
- replay_memory.py
- run_experiment.py
- train.py
- __init__.py
- random_agent.py
- simple_agent.py
- canonical_encoders.cc
- canonical_encoders.h
- CMakeLists.txt
- hanabi_card.cc
- hanabi_card.h
- hanabi_game.cc
- hanabi_game.h
- hanabi_hand.cc
- hanabi_hand.h
- hanabi_history_item.cc
- hanabi_history_item.h
- hanabi_move.cc
- hanabi_move.h
- hanabi_observation.cc
- hanabi_observation.h
- hanabi_state.cc
- hanabi_state.h
- observation_encoder.h
- util.cc
- util.h
- __init__.py
- CMakeLists.txt
- pyhanabi.cc
- pyhanabi.h
- pyhanabi.py
- rl_env.py
- .gitignore
- clean_all.sh
- CMakeLists.txt
- CONTRIBUTING.md
- LICENSE
- pyproject.toml
- README.md
- setup.py
# Installation Guide
git clone https://github.com/google-deepmind/hanabi-learning-environment
Downloads the entire project code from GitHub to your computer.
cd hanabi-learning-environment
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu ๊ณ์ด) Built into Debian/Ubuntu-based Linux distributions.
- Python 3 Python is required to use pip.
sudo apt-get install g++ # if you don't already have a CXX compiler
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo apt-get install python-pip # if you don't already have pip
Installs directly from the APT package repository (Debian/Ubuntu-based).
pip install . # or pip install git+repo_url to install directly from github
Installs the package published on PyPI directly โ no need to clone the source.
pip install numpy # game_example.py uses numpy
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. CMake
Mediummkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
4. Python
Easysudo apt-get install python-pip # if you don't already have pip
Installs directly from the APT package repository (Debian/Ubuntu-based).
pip install . # or pip install git+repo_url to install directly from github
Installs the package published on PyPI directly โ no need to clone the source.
pip install numpy # game_example.py uses numpy
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
