Intelligent-GuoXin/dsh-plugin-gomoku
dsh-plugin-gomoku adds Gomoku (five-in-a-row) with LAN online play, vs-AI, AI-vs-AI and hot-seat modes to the DeepSeek Harness web UI. A floating button toggles a draggable board window; the host half starts a zero-dependency WebSocket relay on port 34567 that is authoritative — it validates turns and moves, detects five-in-a-row and draws, supports resign, rematch with color swap, disconnect handling and a small chat. Partners join from any browser at http://<lan-ip>:34567/ with a 4-character room code — no DSH install needed, and the DSH GUI itself never leaves loopback. vs-AI uses a greedy pattern-scoring AI (attack + defense); AI-vs-AI mode lets you watch two AIs play with replay speed control and pause/resume plus small jitter so games differ while never giving up an immediate win or block. Rooms are in-memory (60-min waiting expiry, keep-alive pings).
Install
dsh plugin --profile web add github:Intelligent-GuoXin/dsh-plugin-gomokuGitHub/source per README (README EN primary w/ zh edition). npm not yet published — the README says Option A 'once published' and documents Option B GitHub: dsh plugin --profile web add github:Intelligent-GuoXin/dsh-plugin-gomoku, then register the loader entry in cordis.patch.yml (insert row id gomoku, name 'dsh-plugin-gomoku') and restart dsh web. LAN play needs inbound TCP on the relay port 34567 allowed.
Compatibility
DeepSeek Harness web UI (client + host plugin); self-contained WebSocket relay (RFC 6455, zero dependencies) on port 34567 for LAN play; Windows Firewall rules added on install.
Details
- Repo: Intelligent-GuoXin/dsh-plugin-gomoku
- Category: Entertainment & Lifestyle
- Stars: 0
- Version: GitHub main (Intelligent-GuoXin/dsh-plugin-gomoku; npm pending)
- Last push: 2026-08-14
- First seen: 2026-08-14
Recent updates
Canvas board with wood texture, star points, last-move marker, win-line highlight and hover ghost stone; fixed light-on-dark panel colors.
FAQ
- How do two people play over LAN?
- Machine A creates a room in the DSH GUI and gets a 4-character code; the partner opens http://<server-lan-ip>:34567/ in any browser, enters a nickname and the code, and joins. The relay validates every move.
- Is the DSH web UI exposed to the LAN?
- No — the GUI intentionally stays on loopback; only the standalone relay page on port 34567 is reachable, and it requires no DSH install.
- Can I watch AI vs AI?
- Yes — AI-vs-AI mode plays two pattern-scoring AIs move by move with slow/medium/fast replay speed, pause/resume, and small jitter so no two games are identical.
Alternatives
cakeni/harness-pet · 2002yxy/dsh-desktop-pet · anneheartrecord/dsh-desk-pet