Home › AI Game Development › OpenGame › How to use OpenGame
How to use OpenGame: setup, your coding agent, and your first game
OpenGame is a developer tool you run locally — there is no website to sign up to and no app to download. This guide walks through the three setup steps from the project’s own README: give your agent one prompt, install the skill, and run OpenGame Studio on your machine.
Before you start: what you need
OpenGame runs on your own computer, from source. You need Git, Git LFS, npm and Node.js 22.18 or newer. It works with 22 local coding agents — the best-known are DeepSeek (DSH), Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Kiro, Kilo and Aider — and you bring your own agent and your own model API keys. There is no versioned release to download yet: as of early December 2026 the project ships no release builds, so you clone the repository and run it from source. If the terminal puts you off, that is fine — it is exactly the part our AI game development service handles for you.
Step 1 — Give one prompt to your local agent
Open your coding agent — DeepSeek TUI, Claude Code, Codex, WorkBuddy, Cursor, Gemini CLI, or any of the 22 supported agents — and paste this instruction, straight from the OpenGame README:
Follow https://github.com/nexu-io/opengame/blob/main/docs/opengame-setup.md to connect OpenGame to this agent and open the Game Studio template gallery.
That setup document is the project’s own guide for connecting OpenGame to your agent. Follow it before anything else: it wires the agent up so the later steps actually work.
Step 2 — Install the OpenGame skill
Install the main opengame entry skill with the Skills CLI:
npx skills add https://github.com/nexu-io/opengame/tree/skills --skill opengame
Installing the skill copies OpenGame’s entry instructions into your agent. From there it routes into the openmotion-game skill and 18 game-craft reference handbooks covering 3C controls, animation, playable ads and QA. You can also install --skill openmotion-game directly. The skill is what teaches your agent the OpenGame way of working — remix a proven template, keep the mechanics, re-style the theme — instead of inventing a game from scratch.
Step 3 — Run OpenGame Studio locally from source
Clone the repository, install dependencies, build the Studio and start it:
git -c filter.lfs.process= -c filter.lfs.smudge= -c filter.lfs.required=false clone --depth 1 --single-branch --branch main https://github.com/nexu-io/opengame.git
cd opengame
git lfs install --local --skip-smudge
npm ci
npm run build:studio
npm start
The clone flags skip the large-file download up front, which keeps the first clone fast. Playing or remixing a template downloads its assets the first time you use it. Once Studio is running you can browse the template gallery immediately — the 25 built-in games are there to play, remix and re-style. One template, Tidebreaker, even works offline.
Keep your game data outside the checkout. The project advises keeping the data directory (MOTION_DATA_DIR) outside the git checkout, so your games, generated assets and provider keys stay cleanly separated from repository updates.
Connecting your agent: Claude Code, Codex, DeepSeek and the rest
How you connect the local MCP server depends on your agent. OpenGame exposes 12 dedicated game MCP tools under the openmotion_game_* namespace — create, read, validate, simulate, playtest, capture a cover, record a trailer, publish, and more.
- Claude Code — add the stdio MCP entry below, install the
openmotion-gameskill, and run/mcpto verify the tools are active. - Codex CLI — run
bash scripts/install-motion.commandfrom the checkout to register the local plugin and MCP server automatically. - DeepSeek TUI / Harness — install the
openmotion-gameskill and connect the local MCP tools through the Cordis configuration, or runnode integrations/dsh/install.tsfrom the checkout. - WorkBuddy — import the connector or paste the
mcp.jsonconfiguration below. - Any other MCP client — use the manual stdio configuration below. It works in any MCP client.
{
"mcpServers": {
"openmotion": {
"command": "/absolute/path/to/node",
"args": ["--experimental-strip-types", "/absolute/path/to/opengame/mcp.ts"],
"env": {
"MOTION_DATA_DIR": "/absolute/path/to/opengame-data"
}
}
}
}
Replace the paths with the real locations on your machine, and keep MOTION_DATA_DIR outside the git checkout. There is also a unified 15-tool OpenDesign Kernel v2 (opendesign_*) available from a source checkout — add "OPENDESIGN_MCP_KERNEL": "v2" to the env and install --skill opendesign if you want it. The full setup guide and architecture reference are in the repository.
Your first game: three prompts that work
Once the skill and the MCP tools are connected, you talk to your agent in plain words. These are the project’s own example prompts, and they show the three ways most people start.
1. Remix a template (best for fast or cheap models)
Ask your agent to remix the Lantern Hop template into a cyberpunk rain-city cat runner. Keep the double-jump physics and the endless scoring loop, replace the fox and lanterns with a neon cyber-cat and holo-batteries, generate new key art and synthwave background music, then validate, playtest and capture a fresh cover. This is the easiest first project, and the one the project recommends for DeepSeek and other fast models.
2. Build a 9:16 playable ad
Ask for a portrait 9:16 playable ad for a medieval tower-defence mobile game: instant first-frame interaction with a hand tutorial, a 25-second escalating wave battle, and an end card with an App Store or Google Play call to action. Then validate, simulate, playtest at 390×844, and bundle it as a single-file HTML. This is the route if you are making ads or campaign mini-games rather than a full game.
3. Build an original 3D game (best for strong models)
Ask for a 3D wuxia boss-duel game set on a misty bamboo cliff at dusk, with parry timing, dodge invincibility frames, stamina management and two boss phases. Then run the 3-tier simulation, a headless Chromium playtest, capture a 1280×720 cover, and record a gameplay trailer. The project recommends Claude, Codex or Gemini for this one — original 3D is the hardest job in the pipeline.
Unity and Unreal: how they fit in
OpenGame presents itself as an AI studio for Unreal Engine and Unity as well as for web games. In practice, the 25 built-in templates are HTML5 and Three.js web games — that is what you remix in Studio. Unity and Unreal are the engines your agent works with when the ambition goes beyond a web game: the agent drives the full-stack work — gameplay, art, music and voice — while OpenGame’s skills, handbooks and QA loop keep the engineering honest. If your project genuinely needs a Unity or Unreal build, say so in your first prompt and let the agent plan around that engine from the start, rather than remixing a web template and converting it later. For the honest picture of where this works well and where it does not, read what OpenGame can and cannot do.
Adding art, music and voice
A real game needs more than code. OpenGame’s Model Gateway wires asset generation into the game project while keeping your API keys local. Image models such as GPT Image, Seedream, Nano Banana and FLUX cover key art, sprites and textures; ElevenLabs and Suno cover music and voice; Wan and Seedance cover short intro clips; and sound effects are synthesised in the game code with the Web Audio API. If you would rather spend nothing, every layer has a built-in fallback: procedural sprites and textures, a synthesised soundtrack, styled dialogue captions instead of voice lines, and an in-engine animated intro. You set your keys in Model Settings, or you connect the project’s OpenDesign Go service for unified multi-model access.
From finished game to published game
When the verification loop passes — validation, balance simulation, headless playtest, cover capture, trailer — the Publish panel takes over. You can publish to the local Studio market, share a one-click web link, export a 9:16 playable ad for one of nine ad networks, or hand off to the TapTap agent-guided flow, which installs the official TapTap CLI if needed, creates the game, builds and preflights the package, uploads the icon and store art, and takes its own gameplay screenshots. WeChat Mini Games use a three-step wizard with a QR preview; Douyin and QQ Mini Games use guided console flows; Telegram publishing is a web link attached through BotFather. What stays with you at every step: the store accounts, the agreements, the qualifications and the final review submission. OpenGame does the packaging — you own the launch.
New to the project? Start with what OpenGame is, and check its limits before you promise anyone a launch date.
Want the game without the setup?
Setting up OpenGame, wiring the MCP server and babysitting the agent through its first builds is real work — fun work, but work. If you would rather hand the idea to a team and get a finished, playtested game back, that is our AI game development service: we build on OpenGame, test everything by hand, and hand over the game with its source code. Mini-games from £499, full 2D games from £1,499, 3D games from £2,999.
Have a game idea?
Tell us the idea — a sentence is enough. We will tell you what it takes and what it costs, honestly.