BubblePtr/dsh-holdem 预览 preview

BubblePtr/dsh-holdem

Six-max No-Limit Hold'em for DeepSeek Harness: one human and five LLM agents.

项目介绍Project Overview

dsh-holdem 是 DSH 的德州扑克插件,在 Web GUI 中间栏新增「德州扑克」Tab,提供 1 名玩家与 5 位 LLM 智能体对局的无限注德州扑克;智能体仅可见自己底牌,桌边中文闲话不泄露推理或手牌,缺模型时回退启发式机器人。适合想在 DSH 内体验多人牌局或测试多智能体交互时使用。注意修改 Host 需重启 dsh,修改 Client 需重新构建并刷新页面。

dsh-holdem is a DSH plugin that adds a Texas Hold'em tab to the Web GUI middle column, offering no-limit Hold'em with one human player and five LLM agents. Agents see only their own hole cards, and Chinese table chat does not reveal reasoning or hands; it falls back to heuristic bots when models are unavailable. Use it for in-DSH poker play or multi-agent interaction testing. Caveat: Host changes require restarting dsh, while Client changes require rebuild and page refresh.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-holdem

BubblePtr/dsh-holdem 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-holdem

无限注德州扑克:1 名玩家 + 5 位 LLM 智能体。装上后,Web GUI 中间栏会出现「德州扑克」Tab。

智能体只能看见自己的底牌;桌边闲话是中文,不会泄露推理或手牌。

六人桌界面

安装

已有 DeepSeek Harness 时,两条命令:

dsh plugin --profile web add dsh-holdem
dsh --profile web

装的是 npm 上的预构建包,不用 clone、不用 build、不用 allowBuilds

卸载:

dsh plugin --profile web remove dsh-holdem

开发

pnpm install
pnpm build
文件 作用
src/host.js Node 半区:牌局引擎 + /dsh-holdem/* JSON API;缺模型时回退启发式机器人
src/client.cjs 浏览器半区:conversation.view Tab
cordis.patch.yml 往 web 组合插入本包

改 Host 后需要重启 dsh --profile web。改 Client 后重新 pnpm build、刷新页面。

许可证

MIT

上一个 Prev dsh-Bio-image-dup-check 下一个 Next dsh-plugins