Skip to content

0xsuu/Project-Mahjong

Repository files navigation

Project-Mahjong

Build Status

Obtain Source Code

mkdir mahjong
cd mahjong
git clone https://github.com/al1enSuu/Project-Mahjong.git
cd Project-Mahjong

Quick Start: Simple Mahjong Game

./build_mahjong.sh --game simple

Quick Start: Simple Mahjong Game Python

./build_mahjong.sh --python
cd python_app/simple_mahjong
python3 play.py

Quick Start: Tenhou bot

./build_mahjong.sh --python
cd python_app/tenhou-bot
python3 main.py

Quick Start: Tiny Mahjong

Tiny Mahjong README

Mahjong Lib Supporting Environment

Linux

  • Supporting CMake 2.8+
  • Supporting Clang++ 3.7+
  • Supporting Python 3.4/3.5
  • Supporting boost::python 1.54

Mac

  • Supporting CMake 2.8+
  • Supporting Clang++ 800
  • Supporting Python 3.4+
  • Python 3.6 not supported for SimpleMahjong Python version.

Windows

  • Supporting Python 3.5+
  • boost::python not tested.

Prerequisites

  • Build library tests: gtest
  • Build python interface: boost-python
  • Build for coverage info: lcov-1.12+, clang++3.8(on linux)

Detailed Build Instructions

Build Instructions