dsh-game-studio: Turn One Sentence into a Playable Game in the DeepSeek Harness Sidebar
zseven-w/dsh-game-studio
Describe a small game in one sentence and this DSH plugin builds a playable version in the sidebar, with AI art swaps, self-playing playtests and one-file HTML export.
dsh-game-studio is a game generation plugin for DeepSeek Harness that lets people without coding skills build the small games they imagine. It ships with two templates, a 2D top-down game and a 3D voxel world, and the agent reshapes characters, rules, levels and screens from a plain-language description, with the result running in the sidebar next to the conversation. When you want better visuals, numbered AI art candidates can be generated per slot to replace code-drawn assets, every change is saved as a rollback-able version, and the finished game exports as one offline HTML file. It is maintained by ZSeven-W under the MIT license.
How to Install
dsh plugin --profile <your-profile> add @zseven-w/dsh-game-studioReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Entertainment
- Platform
- DSH Plugin
- Author
- zseven-w
- Distribution
- Plugin
dsh-game-studio Key Features
dsh-game-studio Repo Summary
What Does It Do?
DSH Game Studio is a DSH plugin for DeepSeek Harness that turns a one-sentence game idea into a playable game inside the conversation sidebar. It solves the problem of having an idea but no game code: the agent reshapes one of two built-in templates (2D top-down or 3D voxel) into the characters, rules, levels and screens you describe, then lets you swap in AI-generated art and export everything as a single offline HTML file. It is maintained by ZSeven-W under the MIT license and written in TypeScript.
Core Features
- One-sentence playable prototypes: two templates, a 2D top-down game and the same loop in a 3D voxel world built with three.js, are reshaped by the agent into your described game and playable from the first answer.
- Live sidebar preview: the game runs in a sandboxed panel next to the conversation, rebuilds on every change, and lists art slots, candidates and versions beneath it, with a wide stage for landscape games.
- AI art with a cost check first: numbered candidates are generated per slot through the OpenAI image API or the local Codex CLI, and an approval card shows the service, image count and expected cost before anything is spent; an image attached in chat can serve as reference.
- Self-playing playtests: the latest code runs in headless Chrome or Edge and reports phases, score, frame rate, script errors and screenshots; games not steered with arrow keys can define an autoplay hook so the real loop is tested.
- Version history: every build that changed the game is saved, and restoring brings back code, rules and art together.
- One-file export and phone preview: export writes a self-contained HTML file with no network access, while a temporary read-only LAN link with a QR code lets you try the game on a phone.
How to Use This Plugin?
After enabling it in DSH, just ask the agent in plain words, for example "make a 3D game: a red panda collects bamboo shoots in a forest and dodges wild boars." The agent builds the game from a template, playtests it to confirm it works, and shows a playable build in the right sidebar. When you want real art, ask for candidates and pick one by number to swap it in. Keep refining in the same session, since each change becomes a version you can roll back to, and export the finished game as one HTML file when you are happy with it.
How to Troubleshoot This Plugin?
When a playtest reports script errors or an unusual frame rate, read the returned phases, score and screenshots to locate the problem, then ask the agent to fix the code around that error. If the game is not steered with arrow keys (grids, cards, aiming, rhythm games and similar), define the autoplay hook as described in the official docs, otherwise the playtest cannot run the real loop. If the cost approval card for AI art is not accepted, no images are generated; confirm the service and image count as prompted and try again.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: zseven-w/dsh-game-studio. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
