wx-csy / MahjongAI

An AI for a simplified mahjong game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MahjongAI

An AI for a simplified mahjong game.

For any information of game rule or game server, pls visit https://github.com/wormful/Mahjong.

To check what's new in the latest version, pls see file 'update.log'.

If you want to write a new AI from this one, pls read this:

  • Change the AI information in function 'int main', file 'main.cpp'.
  • Rewrite these functions in file 'algo.cpp'
    • 'void ActionAfterPick(tile T)'
    • 'void ActionAfterMPick(tile T, bool canchi)'

About

An AI for a simplified mahjong game


Languages

Language:C++ 92.7%Language:C 7.3%