Skip to content

rick0000/mjaigym

Repository files navigation

mjaigym

Library for Japanese Mahjong based on mjai protocol https://github.com/gimite/mjai

If you want to know mjai protocol, see mjai protocol author's site: https://gimite.net/pukiwiki/index.php?Mjai%20%E9%BA%BB%E9%9B%80AI%E5%AF%BE%E6%88%A6%E3%82%B5%E3%83%BC%E3%83%90

How to install

git clone https://github.com/rick0000/mjaigym.git
pip install .

How to use

play game https://colab.research.google.com/drive/1mDlIQU06frYpvpgNS5-44Ur3lVhr1nrt?usp=sharing

replay mjson file https://drive.google.com/file/d/1CIjYEIbuLfsXvKuw7OQfdzpOQPo3EXHC/view?usp=sharing

supervised learning sample https://github.com/rick0000/mjaigym_ml

NOTE

This library works on Ubuntu 18.04, 20.04, Google Colaboratory. This library does not work on Windows and Mac OS.

If you only use mjaigym module like as follow sample, PyTorch is not needed. Delete torch from setup.py. https://colab.research.google.com/drive/1mDlIQU06frYpvpgNS5-44Ur3lVhr1nrt?usp=sharing#scrollTo=U4iubgUJGCm7

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages