dsh-plugin-tetris
Manifest valid★ 1Play Tetris in the DeepSeek Harness Web GUI while the agent works
背景
用 DSH 写代码的时候,等 agent 跑任务总有几十秒空档,于是把它做成了一个插件: 游戏面板挂在 DSH 的框架级浮动层上,agent 开始工作时自动出现;右下角常驻一个圆形 T 形方块图标,随时点开就能玩,面板会从图标的位置弹出。
引擎不是随手写的——它是我另一个项目 tetris-terminal(Python 终端版俄罗斯方块) 的逐行 TypeScript 移植:7-bag、SRS 墙踢、Hold、Ghost、T-Spin、B2B、消行动画都和终端版一致, 连终端版的一些怪癖也一并保留了。规则和手感是它先做出来的。
觉得好玩的话,去给 tetris-terminal 点个 ⭐ 吧。
操作
| 键 | 动作 |
|---|---|
← → / A D | 左右移动 |
↑ / W / X | 顺时针旋转 |
Z | 逆时针旋转 |
↓ / S | 软降 |
空格 | 硬降 |
C | Hold |
P | 暂停 / 继续 |
先点一下棋盘再用键盘;聚焦后棋盘会有一圈绿色描边。标题栏的「焦点联动」滑块控制 "失焦自动暂停 + 对话结束把焦点交还游戏"。
安装
dsh plugin --profile web add dsh-plugin-tetris
装完不需要刷新页面。卸载:
dsh plugin --profile web remove dsh-plugin-tetris
从源码开发:npm install && npm run build,然后
dsh plugin --profile web add link:"$PWD"。
仓库里提交了构建产物
lib/,所以也可以直接从 git 装:dsh plugin --profile web add git+https://github.com/<you>/dsh-plugin-tetris.git。
License
MIT。引擎逻辑来自 tetris-terminal(MIT, jayzhu)。
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 20.4k
CC0-1.0
Python
Oct 23, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.3k
CC0-1.0
Python
Oct 16, 2026
by pax-beehive
Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub
★ 277
MIT
TypeScript
Oct 20, 2026
by xiajiajun516
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
★ 231
MIT
TypeScript
Oct 23, 2026
dsh plugin --profile web add dsh-config-managerby yjh051108
推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。
★ 167
TypeScript
Oct 16, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby jigjoy-ai
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.
★ 125
MIT
TypeScript
Oct 22, 2026

