
在DSH中与AI下五子棋,也可以让AI对局,看哪个AI棋力更强
Install Dsh Gomoku
Clean install: prebuilt on npm and declares a `dsh.bundle` layer.
The one-line version
dsh plugin --profile my-profile add @yejiming/dsh-gomokuThe easy path: this bundle is published to npm, so the install pulls a prebuilt artifact — no build step runs on your machine and no build approval is needed.
From npm — installs a prebuilt artifact, no build step on your machine
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add @yejiming/dsh-gomoku
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePackage: @yejiming/dsh-gomoku
Prefer to install from source instead?
From GitHub — pulls source, and may ask for build approval on first run
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:omdsh-dev/dsh-gomoku#<commit-sha>
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePrerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- TypeScript
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | pass | fatal | published as `@yejiming/dsh-gomoku` — prebuilt artifacts |
- Verdict reason
- on npm with a valid bundle declaration
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
总是让 AI 帮你写代码、做表格?这次换它陪你下棋。`@yejiming/dsh-gomoku` 是 DeepSeek Harness 的五子棋插件:在 DSH 侧边栏摆上一盘 15×15 的棋盘,让 DeepSeek 或任何你配置好的模型执子对弈。 这里没有搜索算法,也没有启发式剪枝——每一步落子都来自 LLM 纯粹的推理与判断,堪称对模型「思考能力」最直观的考验。最过瘾的当属双 AI 对战:让两个模型同台厮杀,谁的推理更缜密、更懂审时度势,一局见分晓。 想更进一步?黑、白两方的系统提示词可以分别编辑,约束 AI 落子前的思维链,亲眼看着棋力在你的「调教」下节节攀升——输赢先不论,围观棋路、偷师几手也不亏。 最贴心的是:棋盘弹窗想开就开、想关就关,对局和 AI 的思考在后台照常进行。一边用 DSH 处理正事,一边偷空落一子,摸鱼与工作两不误。 - **人机与双 AI 对弈**:支持执黑、执白、双 AI 对弈三种模式,15×15 无禁手规则(双三、双四、长连均合法,连成五子及以上即胜)。对弈模式与新开局按钮位于棋盘下方。 - **黑白 AI 分别设置**:黑、白两方可分别选择模型与思考档位(Off / High / Max),互不影响;模型不支持所选档位时自动回落其默认档位。 - **思考过程分侧展示**:黑、白两方的思考记录分别列在棋盘左右两侧(与各自的 AI 设置同侧),默认折叠,点击某手可展开该步的完整推理文本。 - **暂停与手动接管**:棋盘下方【新开局】按钮右侧的【暂停】按钮可随时中断 AI 思考(两者均为「图标 + 文字」的胶囊按钮:⟳ 新开局、⏸ 暂停、▶ 继续,暂停中按钮转为琥珀色高亮);暂停期间你可为黑白双方轮流落子,没有步数限制,再次点击【继续】后 AI 恢复思考。 - **固定超时与输出上限**:单次落子的端到端超时固定为 3000000 毫秒(30
Topics
GitHub topics on this repository