Skip to content
Projekte

Über uns

Implementierung verschiedener Funktionen rund um Riichi-Mahjong (Handwert, Shanten, Agari-Ende usw.)

Spiele und Emulation

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

mahjong

PyPI License Supported Python versions PyPI Downloads Linters and tests API Docs

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

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.

Ähnliche Projekte entdecken

Wird geladen…