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

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

为游戏中心插槽提供可访问的四人麻将牌桌渲染器。 适合想在游戏中心玩简化麻将的用户,需已启用游戏中心与麻将规则。

包名
@deepseek-ai/dsh-client-ui-game-mahjong
兼容性
待验证
Harness 依赖范围
workspace:^
Cordis 依赖范围
workspace:^
版本
0.1.0-rc.5
许可证
MIT
最近更新
2026年8月24日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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.