Skip to content

Reinforcement learning approaches for Mahjong AI

Notifications You must be signed in to change notification settings

sharedcare/mahjong_rl

Repository files navigation

Mahjong

The objective of this project is to build a reasonable AI agent to play Mahjong with human players.

The enviroment of Mahjong is built by RLCard.

Requirements

  • PyTorch
  • RLCard

Usage

Train PPO Agent

python main.py --log_dir 'experiments/mahjong_ppo_result/'

Play Demo with trained agent

python demo.py

Todo

  • PPO Agent
  • Demo
  • Distributed PPO Agent
  • MAPPO Agent
  • SAC Agent
  • Add other types of Mahjong games

About

Reinforcement learning approaches for Mahjong AI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages