DeepSeek Harness Slacker's Chess Room Plugin

Introduction

During development and use of DeepSeek Harness, you occasionally need to briefly step away from the workflow to restore your focus. The Moyu Game Room plugin provides a standalone panel in the sidebar, letting you play local mini-games without interrupting the current session.

Plugin Overview

dsh-moyu-games is a client-side plugin for DeepSeek Harness, maintained by KunChiang. It offers four games in the sidebar—Gomoku (Five-in-a-Row), Dark Beast Chess, Minesweeper, and Tower Stack—supports playing against a local AI, consumes no LLM tokens, and works offline.

Core Features

Gomoku (Five-in-a-Row)

15×15 board with no forbidden-move rules. Five or more in a row wins. Supports arrow-key cursor movement, Enter to place a stone, plus undo, restart, pass turn, placement preview, winning-line highlight, and move history. Win/loss records are tracked per game type.

Dark Beast Chess

4×4 flip-board game with 16 pieces face-down. The first flip determines your faction; each turn you either flip one hidden piece or move one step. Ranks range from 1 (Elephant) to 8 (Mouse): higher rank eats lower rank, equal ranks eat each other, Mouse can eat Elephant, but Elephant cannot eat Mouse. Includes flip preview, legal-move hints, capture log, and a quick-reference rule sheet.

Minesweeper

Three difficulty levels: 9×9/10, 16×16/40, and 16×30/99. The first click and its neighbors are safe. Right-click to flag, double-click a number for quick reveal. Each game provides 3 local AI hints, prioritizing 100% safe cells or confirmed mines, then the lowest-probability guess.

Tower Stack

A single-player reflex game. A crane swings a floor slab left and right; click to drop it. The slab is kept whole and can overhang; too little support causes it to fall. Consecutive misalignments accumulate tilt and make the whole tower wobble—tilt too far and it collapses. The camera follows the top, and bottom floors scroll out of view. Does not count toward win/loss records; only the max floor count is tracked.

Local AI Opponent “Yu Xiaoqi”

Three difficulty levels (Chill / Serious / Grinder), based on candidate-position shape scoring + alpha-beta search. No LLM calls, no token consumption, and plays fine offline. Gomoku at Grinder difficulty has a per-move computation cap of roughly 320 ms.

Boss Key

Press Esc in the panel or click “Back to Chat” to immediately return to the conversation. A “Moyu Game Room” entry sits to the left of the input box, ready to start a game at any time.

Installation & Activation

Option 1: Official CLI

dsh plugin --profile web add /absolute/path/to/dsh-moyu-games

Option 2: DSH Desktop Plugin Manager

Install from a local path under “Settings → Plugins.” Refresh the page after installation; if the entry still doesn’t appear, restart Harness once.

Option 3: Manual Mount

Link the package into the profile’s node_modules, then append the following to the profile’s cordis.patch.yml:

- insert:
    - id: moyu-games
      name: 'dsh-moyu-games'

Typical Usage

Open the “Moyu Game Room” entry in the sidebar and switch between Gomoku / Dark Beast Chess / Minesweeper / Tower Stack via the top tabs. For Gomoku, click an intersection to place a stone. For Dark Beast Chess, click a hidden piece to flip it; click your own revealed piece to select it, then click an adjacent cell to move or capture. For Minesweeper, left-click to reveal, right-click to flag, H for AI hint, N to restart, F to toggle flag mode. For Tower Stack, click the scene or press Space to drop a floor, N to restart.

Use Cases

Ideal for developers or users who need a brief break between DSH work sessions. The plugin runs under the current DSH process permissions and stores stats via the host-side localStorage or $DSH_HOME/storages/moyu-games/stats.json. When multiple tabs settle scores simultaneously, there is a tiny chance that a later write overwrites an earlier one.

Caveats

  • AI computes on the main thread; extreme long calculations may cause a brief UI stutter
  • Dark Beast Chess v1 uses the basic 4×4 rules without the special Leet/Dog/Mouse movement extensions
  • Minesweeper is single-player only; AI hints perform logical constraint analysis
  • Tower Stack does not count toward win/loss records; only the max floor count is logged
  • No forbidden-move rules; Renju black-stone forbidden-move detection is not included

Roadmap

Four-in-a-Row, Reversi (Othello), and 2048 are in the planning stage.

References

  • Plugin directory: https://www.skillhub.cn/plugins/KunChiang/dsh-moyu-games
  • GitHub: https://github.com/KunChiang/dsh-moyu-games
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye