doudizhu_learning_environment is a research platform for a game named doudizhu (aka fighting the landlord) (wiki).
The library is written in C++. You can use Cmake to compile and run examples.
The moves in this library are encoded identically with RLCard.
The main usage of the library is very similar with hanabi_learning_environment and bridge_learning_environment.
You need to have CMake as well as python to install the library.
mkdir build && cd build
cmake ..
make -j10
If you are using python in a specific environment created by programs like Anaconda, you should specify your python executable path
cmake .. -DPython_EXECUTABLE=/path/to/python_executable
The library can also be used by other programs using cmake add_subdirectory()
syntax.
- Doudizhu observation encoders(Douzero style).
- Gym-like rl envs.
- Doudizhu game examples.
- Add a function to create moves from string.
- Add a function to get move uid from move.
- Add a program to allow human play with random agent through console.