This Repository build a Surakarta Game framework and implement MCTS (Monte Carlo Tree Search) technique to train AI. In the future, we will combine MCTS with Deep Q-Learning or other appropriate RL, ML, DRL technique.
Important: You should install C++ libtorch libaray first
- git clone this Repository
cd SurakartaAImkdir buildcd buildcmake -DCMAKE_PREFIX_PATH=/path/to/yourlibtorch ..cmake --build ../surakarta (--total=1000 --block=100 (default argument))
- By deault, The two agent player and envir move according to two different strategy, MCTS and Eat First Greedy.
- Modify
agent.hand choose the strategy you want inpolicy.h