mahjong-test-generator

Community

Generate robust Mahjong test cases and scenarios.

AuthorTeng-AI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate test scenarios for Fujian Mahjong game logic, enabling validation of win detection, gold substitution, calling validation, edge cases, and scoring calculations.

Core Features & Use Cases

  • Generate winning hands for win detection testing
  • Create hands that are N tiles away from winning (tenpai)
  • Generate Three Golds scenarios
  • Create edge cases (wall exhaustion, bonus chains)
  • Generate invalid hands to test rejection
  • Create calling scenarios (multiple players can call)
  • Generate scoring test cases

Quick Start

Describe the feature you want tested and any edge cases, and I will generate the corresponding test scenarios.

Dependency Matrix

Required Modules

None required

Components

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: mahjong-test-generator
Download link: https://github.com/Teng-AI/mahjong/archive/main.zip#mahjong-test-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.