fujian-mahjong-validator
CommunityValidate Fujian Mahjong rules, hands and scores.
AuthorTeng-AI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fujian Mahjong validator checks the correctness of game logic for hands, sets, winning conditions, and Gold tile rules, aiding developers in ensuring reliable gameplay outcomes.
Core Features & Use Cases
- Validate whether a hand is winning under Fujian rules, including Gold substitutions.
- Verify sets and sequences (chows, pungs) are valid and detect illegal moves.
- Compute accurate scores for a winning hand, including bonus rules like All One Suit and Golden Pair.
- Validate move legality for calls (chow, pung) and win calls, and ensure correct priority handling.
Quick Start
Provide a Fujian Mahjong hand to the validator and request a win determination and score breakdown.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fujian-mahjong-validator Download link: https://github.com/Teng-AI/mahjong/archive/main.zip#fujian-mahjong-validator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.