This repository contain codes to train to play card games through reinforcement learning.
algorithm
contains reinforcement learning algorithms. Currently, only PPO algorithm are implemented and customised for big two.benchmark
pitching different bots against each other to see who is the bestbigtwo
code to run the big two card gamebigtwo_client
a simple GUI application to play bigtwo against the botsgamerunner
training the bots using self implemented PPO algorithmrayrunner
: training the bots using Ray RLlibplayingcards
: classes that represent playing cards
First poetry, then run poetry install
cd big_client
PYTHONPATH=.. python client.py
Training configuration is stored in `gamerunner/config``
cd gamerunner
PYTHONPATH=.. python ppo_runner.py
make run_test