Introduction¶
When debugging or running agent tasks in DeepSeek Harness, waiting for extended periods for model output is a common scenario. In those moments, opening a small game that requires frequent clicks and easily breaks your flow can be distracting. Embedding the game in the right sidebar lets you kill time while keeping both the conversation and code areas visible.
lamervon/dsh-spider-solitaire is a plugin that brings classic Spider Solitaire into the DeepSeek Harness right sidebar. All progress and statistics are stored locally, so the game resumes after a refresh.
Plugin Overview¶
This is a DeepSeek Harness client plugin authored by lamervon. It implements Spider Solitaire as a right sidebar page type that can be docked next to the conversation, floated, or displayed fullscreen. 104 cards are dealt into 10 columns, and the goal is to complete 8 same-suit sequences from K to A. Upon finishing a game, a result card is displayed and the outcome is recorded in local win-rate and statistics.
Installation & Enablement¶
DeepSeek Harness plugins are distributed as Bundles. Follow these steps to install:
- In the Harness main interface, go to Plugins → Add plugin.
- Enter one of the following specifications:
github:lamervon/dsh-spider-solitaire
or
git@github.com:lamervon/dsh-spider-solitaire.git
- Enable the plugin after installation.
- At the bottom of the right sidebar, click the spade icon to open the game.
Note: The plugin package name is @lamervon/dsh-spider-solitaire. The early local install name was @local/dsh-spider-solitaire. Installing from GitHub will not upgrade it—you must first remove the old entry from the Plugins list before installing the new specification.
Gameplay¶
- Drag & drop: Drag a single card or a run onto a card one rank higher at the top of a column (any suit), or onto an empty column.
- Click to move: Click a movable run to select it, then click the target column to complete the move. This is more friendly for trackpad and keyboard users.
- Dealing: The stock area in the lower-left corner deals one card to each column, but every column must already contain a card before dealing is allowed.
- Undo / Redo / Hint: The toolbar provides these operations. The hint highlights a suggested move; when no cards are movable, the hint points to the stock area; when the board is unsolvable and the stock is empty, the hint ends the game.
- Win/Loss determination: Clear all 8 K-A sequences to win; if no legal moves remain on the board and the stock is empty, the game is judged as a loss and reported in the result card.
Difficulty & Scoring¶
- Difficulty selection: Choose 1, 2, or 4 suits from the top menu.
- Scoring rules: Follows Microsoft Spider Solitaire rules. Starting score is 500; each move earns 1 point; completing a K-A sequence earns 100 points.
UI Language¶
The plugin includes built-in English and Chinese, switching in real time with the Harness language setting—no refresh needed. All UI text (board labels, dialogs, toolbar accessibility names, sidebar bottom buttons, onboarding cards) is managed via a localization dictionary. locale/en.json and locale/zh.json use the same key set, and translation completeness is verified at build time.
Sound Effects¶
The board synthesizes sound effects in real time via Web Audio—no audio file loading or network requests required. Distinct sounds play for run moves, dealing, clearing a K-A sequence, completing the final run, and when a rule rejects a move. The ♫ button in the toolbar toggles sound on/off, and the preference persists on the current device.
Data Storage & Privacy¶
All data is stored in the current browser’s local storage, with the prefix dsh.spider.:
- In-progress game state, resuming after a refresh.
- Last selected difficulty.
- Sound on/off state.
- Per-difficulty statistics: games played, wins, win rate, high score, fastest time, and fewest moves.
The plugin sends no data to any service. There is no Host-side logic, no network requests, and no model calls. Clearing the Harness page’s site data will reset both the game and statistics.
Enabling & Disabling¶
After disabling or removing the plugin, the game tab in the right sidebar, the bottom button, and the onboarding card all disappear. Saved games and statistics remain in local storage, and the game will resume at the last state upon re-enabling.
Use Cases¶
Well suited for developers who find themselves waiting for extended periods for model output in DeepSeek Harness. Shifting attention from “waiting” to a small game can ease anxiety without fully detaching from the conversation or code context. Ideal for solo casual play; not recommended when frequent interaction with the agent is required.
Notes¶
- The plugin requires DeepSeek Harness 0.2.x (
>=0.2.0-rc.1 <0.3.0). Please verify the version range before installing. - All data is stored only in the local browser; clearing site data will lose your progress.
- Source code and license: https://github.com/lamervon/dsh-spider-solitaire
- Plugin directory page: https://www.skillhub.cn/plugins/lamervon/dsh-spider-solitaire