dsh-poker-plugin
在终端中运行以下命令:
dsh plugin install Raybbish/dsh-poker-plugin
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install Raybbish/dsh-poker-plugin 即可安装,项目源码位于 https://github.com/Raybbish/dsh-poker-plugin
插件介绍
Open DSH Web in two browser windows and you can sit down for a hand of local Texas Hold'em with friends on the same machine—or with AI bots. dsh-poker drops a complete poker engine into the DSH sidebar: 5/10 blinds, flop, turn, river, showdown, side pots, uncalled-bet refunds, heads-up rules, and a raise slider that lets you dial in anything from min-raise to max-raise within the legal bounds. Everything runs on Play Tokens. No wallet, no real money, no public network.
Beyond the core game, the plugin invests heavily in player experience. Server-authoritative state with WebSocket real-time sync means a dropped connection resumes from a snapshot rather than losing the hand. Each seat only ever sees its own hole cards—privacy is enforced by the engine, not the UI. AI seats call a user-supplied API (deepseek-v4-flash by default); every bot response is validated against the engine's legal actions before it applies, so a timeout or a bad move triggers a safe server-side fallback instead of a frozen table. The table itself feels alive: dealing, chip movement, folds, and payouts are animated; AI characters show distinct idle, thinking, acting, and reacting states with localized thought lines. A full Chinese/English toggle covers every string from lobby to hand history, the layout is responsive from 390 px to 1440 px, and everything respects prefers-reduced-motion.
It is aimed at DSH Web users who want a little local fun between tasks—gather a couple of friends across multiple windows on a weekend, or tune the AI and grind hand-reading decisions solo. All data (tables, identities, wallets, the immutable ledger) persists across dsh web restarts via the DSH storage domain. MIT-licensed, community-built, and not affiliated with DeepSeek.
使用场景
- 在 DSH Web 侧边栏打开扑克,多窗口同机与朋友打德州扑克
- 单人面对 AI 机器人练习读牌和下注决策
- 周末聚会时快速开局,几局娱乐代币 Poker 轻松放松
适合人员
- 已经在使用 DSH Web 并想在本地加一点小游戏的用户
- 扑克爱好者,想用代币规则无压力练习或娱乐
- 希望用 AI 对手做手牌分析或策略讨论的开发者