rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:feiniao1933/dsh-minigames
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Listed in the Open Plugin Market
as a community plugin (index source: https://dshopen.org/index.json).
A mini-games box for the DSH Web right sidebar. It ships two games:
Requires DSH 0.2.2-rc.1 or newer with the Web client (the right-sidebar plugin
seats). The plugin is not on npm yet, so pick one of these sources:
From the Open Plugin Market (recommended): open the market page and install there — the listing pins a reviewed Git commit: https://dshopen.org/zh/plugins/dsh-minigames/
From GitHub (Git URL):
dsh plugin --profile web add 'github:feiniao1933/dsh-minigames'
Pin a revision for a reproducible install (tag or commit):
dsh plugin --profile web add 'github:feiniao1933/dsh-minigames#v1.4.4'
dsh plugin --profile web add 'github:feiniao1933/dsh-minigames#<commit-sha>'
From the prebuilt tarball (no Git required): every release ships the packed plugin as an asset, so any HTTPS tarball URL works:
dsh plugin --profile web add 'https://github.com/feiniao1933/dsh-minigames/releases/download/v1.4.4/dsh-minigames-1.4.4.tgz'
Restart dsh web if the running page does not pick the new bundle up. The
plugin's row id is minigames-box; it can be disabled again with
dsh plugin --profile web remove dsh-minigames.
Version note: the market listing may lag behind this repository while a new version waits for review.
v1.4.4fixes a startup freeze in the third game; older pinned commits (e.g.v1.4.3) still have it.
The game box in the right sidebar (dark theme) with Gomoku: game shelf, difficulty selector, sound toggle, local tally, board, and the restart/undo controls.

Captures of the two arcade games and the victory celebration are still to come. The repository ships no mock-up images.
The plugin contributes one right-sidebar tab type and one Start-page capsule, so it behaves like the rest of the right sidebar rather than floating above it:
Two ways in, both backed by the same tab type:
The game opens as a tab in the right sidebar: a game shelf at the top (五子棋 / 飞机大战 / 肥鱼大冒险), the selected game below it, and "more games" placeholder row. Switching games keeps every game's state while the tab stays open.
Because it is a regular tab type, it can be split, floated or moved between panes with the sidebar's own controls, and it stays mounted while hidden.
简单 / 普通 / 困难, default 困难)
and remembered in localStorage. It is a search ladder over one engine:
easy = 2-ply, normal = 4-ply, hard = 6-ply; every level still takes its own
wins and blocks an immediate loss.localStorage after every move, so closing the tab or reloading
the page resumes the same game (a finished game reopens on its result, and a
restart clears the save). A malformed save falls back to a fresh board.localStorage.All UI copy is routed through the Client locale service (English and Chinese
dictionaries); every non-artwork colour is a --dsw-alias-* theme token, so the
page follows light/dark themes. The board wood, stones, trophy and confetti
palette are artwork colours.
A compact remake of the classic WeChat airplane game, rendered on a <canvas>
inside the same right-sidebar page.
localStorage.An underwater Flappy-Bird remake where the chubby fish is the DSH whale.
localStorage; pause/resume, restart, auto-pause when
the tab is hidden, and muted audio all work like the other arcade game.| File | Role |
|---|---|
package.json |
Bundle manifest: dsh.bundle.patch plus the dsh.client web declaration. |
cordis.patch.yml |
Inserts one Host entry (minigames-box). |
index.js |
Host half; no Host behaviour, the Client module owns the rendering. |
src/engine.js |
Pure Gomoku engine: board helpers, win detection, heuristic eval, negamax + iterative deepening with tactical checks and a time budget. |
src/plane.js |
Pure sky-shooter simulation: fixed 540×600 world, seeded RNG, auto-fire, waves and enemy types, enemy aimed/spread fire, AABB collisions, particles, lives/score, pause/over phases. |
src/flappy.js |
Pure chubby-fish (flappy) simulation: fixed 540×600 world, seeded RNG, gravity/flap physics, paired coral pipes, exactly-once scoring, bubbles, pause/over phases. |
src/ui.js |
Client half: tab-type registration, Start capsule, tab title, composer-toolbar launcher, game shelf, Gomoku board + difficulty selector, GOMOKU AI loop, canvas games (sky battle incl. enemy bullets, underwater whale leap), synthesized audio, record + preference persistence, shell.overlay celebration. |
client.js |
Generated single-file browser bundle (the loader can only serve one file per package). |
build.mjs |
Concatenates src/engine.js + src/plane.js + src/flappy.js + src/ui.js into client.js inside one module-loader factory. |
locale/*.json |
Plugin title/description shown by Plugin Manager and Settings (8 locales). |
icon.svg |
Bundle artwork: a white game controller on a deep-blue tile. |
Registration path (public extension seats only):
ctx.sidebarRightTabs.register({ id: 'dsh-minigames', kind: 'minigames', title, guide })
ctx.slots.register({ name: 'sidebar.right.pane.tab', key: 'dsh-minigames' }, GameBoxBody)
ctx.slots.register({ name: 'sidebar.right.pane.tab.title', key: 'dsh-minigames' }, GameBoxTitle)
ctx.slots.register({ name: 'conversation.input.left', id: 'dsh-minigames-launcher' }, Launcher)
ctx.slots.register({ name: 'shell.overlay', id: 'dsh-minigames-celebration' }, CelebrationLayer)
0.2.2-rc.1, macOS, Web client (dsh web).The plugin makes no network requests and sends nothing anywhere. It stores only
these browser-local preferences in localStorage:
dsh.minigames.record.v1 – Gomoku win/loss/draw tallydsh.minigames.difficulty.v1 – selected Gomoku difficultydsh.minigames.sound.v1 – sound on/offdsh.minigames.game.v1 – last selected gamedsh.minigames.plane.best.v1 – sky-shooter best scoredsh.minigames.gomoku.save.v1 – Gomoku move list, result and elapsed time
(removed when a fresh board is started)dsh.minigames.flappy.best.v1 – chubby-fish best scoreMIT © 2026 Poboy. See LICENSE.
node build.mjs # rebuild client.js
node build.mjs --test # bundle with internals exposed, for smoke/ui.smoke.mjs
node test/engine.test.mjs # Gomoku engine unit + self-play tests
node test/plane.test.mjs # sky-shooter simulation tests
node test/plane-enemy-bullets.test.mjs # enemy fire, aimed shots, bullet damage
node test/flappy.test.mjs # flappy-whale physics, pipes, scoring
node smoke/ui.smoke.mjs # registration + SSR render + both games' state
smoke/ui.smoke.mjs needs React in a scratch directory (it is a browser
dependency of DSH, not of this package):
npm install --prefix /tmp/dsh-minigames-testdeps react@18.3.1 react-dom@18.3.1 CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。