MahjongRepository/mahjong
À propos
Implémentation de fonctionnalités liées au mahjong riichi (valeur de la main, shanten, fin d’agari, etc.)
Jeux et émulationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalmahjong
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.
Explorer des projets similaires
Chargement…