lmong11/dsh-game-center--packages-client-ui-game-mahjong ↗★ 0
@deepseek-ai/dsh-client-ui-game-mahjong
为游戏中心插槽提供可访问的四人麻将牌桌渲染器。 适合想在游戏中心玩简化麻将的用户,需已启用游戏中心与麻将规则。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 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.