项目
在 GitHub 查看
MahjongRepository/mahjong
关于
立直麻将相关功能的实现(手牌价值、向听数、和牌判定等)
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文mahjong
Japanese riichi mahjong hand calculator library.
Compute hand cost (han, fu, yaku, and scores), validate winning hands, and calculate shanten (minimum tiles to tenpai).
The code was validated on tenhou.net phoenix replays: 26,148,050 four-player and 8,406,421 three-player winning hands.
So, we can say that our hand calculator works the same way that tenhou.net hand calculation.
Documentation
- API reference
- Wiki — Supported rules and usage examples
How to install
pip install mahjong
Contributing
For guidance on setting up a development environment and contributing to mahjong, see Contributing to mahjong.
License
This library is licensed under the MIT license.
探索相关项目
加载中…