Skip to content

wx-csy/MahjongAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages