{"repo":"MahjongRepository/mahjong","free":true,"listed":false,"github":"https://github.com/MahjongRepository/mahjong","clone":"git clone https://github.com/MahjongRepository/mahjong.git","description":"Implementation of riichi mahjong related stuff (hand cost, shanten, agari end, etc.)","language":"Python","stars":486,"topics":["mahjong","game-development","riichi-mahjong","riichi","japanese-mahjong","mahjong-algorithm"],"license":"MIT","category":"game-templates","readme_excerpt":"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 in total on 26,148,038 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 Local development setup To set up the project locally for development: 1. Clone the repository: 2. Setup env using uv: 3. Run tests to verify setup: 4. Run full checks before committing: License This library is licensed under the MIT license.","default_branch":null,"files":null,"tree":[],"storefront":"/r/MahjongRepository","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MahjongRepository/mahjong/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}