lmong11/dsh-game-center--packages-client-ui-game-mahjong ↗★ 0

@deepseek-ai/dsh-client-ui-game-mahjong

Accessible four-seat mahjong-simple-v1 table renderer for the Game Center keyed slot 适合想在游戏中心玩简化麻将的用户,需已启用游戏中心与麻将规则。

Package
@deepseek-ai/dsh-client-ui-game-mahjong
Compatibility
Unverified
Harness peer range
workspace:^
Cordis peer range
workspace:^
Version
0.1.0-rc.5
License
MIT
Last updated
Aug 24, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

@deepseek-ai/dsh-client-ui-game-mahjong

English | 中文

Optional browser table for mahjong-simple-v1. It registers the durable mahjong key in game-center.table and renders four seats, dealer and turn, wall remainder, public melds and rivers, the caller's exact physical hand, separate sealed-reaction controls, public history, and explainable settlement. It submits only action ids present in match.legalActions.

Discarding uses keyboard-accessible physical-tile buttons followed by an exact Host-listed discard action. Reaction windows replace discard controls with chow, pung, kong, win, or pass buttons and explain that choices stay sealed until resolution. The renderer never reads allHands; a referee marker appears only when a deliberately supplied referee projection contains it.

The four-seat grid collapses to one column on narrow screens and the hand remains horizontally scrollable. An incompatible rules version fails closed rather than guessing fields from another Mahjong ruleset.

Model Experience

None, as this browser renderer contributes no prompt, tool, observation, or model request.

KV Cache effect

None; the Host simplified Mahjong profile and isolated Agent seat controller own all model-visible content.

Known Limitations and Deferred Work

  • Version 1 shows a persistent response window but no wall-clock countdown because the Host ruleset has no human deadline yet.
  • Public history navigates resolved actions rather than reconstructing historic private hands or sealed intents. Authoritative identity-aware replay remains on the Host.
  • Tile faces use compact text. Drag sorting, touch gestures, full artwork, animation, sound, ready-hand assistance, and claim previews are deferred.
  • The renderer represents entertainment-only points and has no cash value, wallet, purchase, gambling settlement, or payout integration.