麻将通用胡牌算法实现。(不包含赖子)
麻将通用胡牌算法实现。(包含赖子)
取自:https://github.com/yuanfengyun/qipai.git
麻将子通用定义
麻将通用胡牌算法实现。(https://github.com/yuanfengyun/qipai.git)
http://hp.vector.co.jp/authors/VA046927/mjscore/mjalgorism.html
http://hp.vector.co.jp/authors/VA046927/mjscore/AgariIndex.java
http://hp.vector.co.jp/authors/VA046927/mjscore/AgariBacktrack.java
全副牌共有6类42种图案,144张。
- 万子牌: 1万到9万,各4张,共36张
- 条子牌: 1条到9条,各4张,共36张
- 饼子牌: 1饼到9饼,各4张,共36张
- 风牌: 东、南、西、北,各4张,共16张
- 箭牌: 中、发、白,各4张,共12张
- 春、夏、秋、冬、梅、兰、竹、菊