OpenGame
Turns your local coding agent into a game studio: remix 25 playable templates, verify them headlessly, and ship mini-games or playable ads.
- Source repo
- nexu-io/opengame
- Stars
- ★ 4.5k
- Last updated
- today
- FARS reviewed
- Nov 30, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 52/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeOpenAI API (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- An indie developer already coding with Claude Code or Codex locally who wants a shippable 9:16 mini-game for WeChat, Douyin or TapTap within days, starting from a template rather than an empty prompt.
- Not a fit if
- Teams expecting native Unity or Unreal project files; output is HTML5/Three.js
- Teams that cannot send prompts or assets to third-party model providers
- Users who want a one-click desktop installer without Node.js and Git LFS
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01
- Source review
- 52/100 · Major gaps
What does this agent do, and when should you use it?
OpenGame is an Apache-2.0 open-source "Super Game Agent" that wires 22 local coding agents — DeepSeek TUI/Harness, Claude Code, Codex CLI, Cursor, Gemini CLI and others — into a local Game Studio plus a stdio MCP server. It ships 25 playable HTML5/Three.js templates, each a clean project of index.html, deterministic logic.js and design docs, so you remix or re-skin a proven mechanic instead of prompting a blank page. Twelve openmotion_game_* MCP tools enforce a verification loop — create, batch-write, validate, 3-tier simulate, headless Chrome playtest, cover capture, auto trailer — before a game may be marked ready. Assets come from a BYOK Model Gateway (GPT Image, Seedream, ElevenLabs, Suno, Wan, Seedance) with procedural Canvas and Web Audio fallbacks when no keys are configured. Output lands either in the local Studio catalog or as a single-file HTML/Zip aimed at 8 game platforms and 9 playable-ad networks. Everything runs on your machine; the data directory sits outside the git checkout.
npm start boots a React 19 + Vite Game Studio and the stdio MCP server mcp.ts. openmotion_game_create scaffolds a draft as 2D, 3D (vendored Three.js) or playableAd and returns the full agent brief; openmotion_game_write_files batch-writes up to 100 text files / 8 MiB per owned game. openmotion_game_validate then checks index.html, the allowed CDN policy and required deterministic exports with a 50-tick smoke test (< 5 ms per tick); openmotion_game_simulate runs three bounded headless routes (reference reaches a win milestone, weak struggles, idle loses); openmotion_game_playtest drives real keyboard, mouse and touch input across 1–4 clients in isolated headless Chrome and checks the 390×844 layout plus console and network errors. openmotion_game_capture_cover pulls a 1280×720 PNG straight off the canvas, and openmotion_game_trailer records three 5-second headless clips and renders a ~19-second MP4 through FFmpeg. openmotion_assets_use and openmotion_media_use call the BYOK Model Gateway for images, music, voice and video and also run action="web_publish" for a cloud share link. openmotion_game_publish finally lists the game in the local catalog, while the Publish panel packages it for WeChat/TapTap/Douyin/QQ/Xiaohongshu/itch.io/Telegram and for ad networks such as MRAID, AppLovin, Google Ads, Unity, Meta, TikTok/Pangle, Mintegral, Moloco and Liftoff.
- An indie developer already coding with Claude Code or Codex locally who wants a shippable 9:16 mini-game for WeChat, Douyin or TapTap within days, starting from a template rather than an empty prompt.
- A user-acquisition team that needs a playableAd: true build with instant first-frame interaction, a 25-second wave fight and a store CTA end card, exported as spec-compliant single-file HTML for AppLovin, Meta or TikTok/Pangle.
- A designer testing a new art direction: remix Lantern Hop or Glyph Garden to swap characters, palette and BGM while keeping the original physics and scoring loop intact.
- A team that wants automated QA on model-generated games: 50-tick validation, three-tier balance simulation and multi-client headless playtesting instead of eyeballing the build.
- A creator preparing store listings who needs a 1280×720 cover and a ~19-second gameplay trailer for itch.io or TapTap without editing video by hand.
- A small studio that wants zero-API-cost prototypes using the procedural Canvas sprite and Web Audio fallbacks before paying for image or voice models.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add https://github.com/nexu-io/opengame/tree/skills --skill opengame
- Environment variables
MOTION_DATA_DIR- Runtime
- Node.js 22.18+
How do you install or deploy this agent?
You need Git, Git LFS, npm and Node.js 22.18+ (CI pins Node.js 26.11.1). Clone and build the local Studio from source:
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 startInstall the entry Skill into your coding agent with the Skills CLI (or install --skill openmotion-game directly):
npx skills add https://github.com/nexu-io/opengame/tree/skills --skill opengameFor MCP clients without a dedicated adapter, register the stdio server manually. Keep MOTION_DATA_DIR outside the checkout so games, generated assets and keys stay separate from repository updates:
{
"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"
}
}
}
}Claude Code: add the entry above, install the skill, then run /mcp to confirm the tools are live. Codex CLI registers the plugin and server automatically:
bash scripts/install-motion.commandDeepSeek TUI/Harness installs through its own script:
node integrations/dsh/install.tsHow do you use this agent?
Paste this into the agent that has the MCP server configured so it finishes the local connection and opens the template gallery:
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.Then drive the pipeline in natural language, for example a re-skin that ends in a fresh cover:
Use openmotion-game to remix the "Lantern Hop" template into a cyberpunk rain-city cat runner. Keep the double-jump physics and endless scoring loop, replace the fox and lanterns with a neon cyber-cat and holo-batteries, generate new key art and synthwave BGM, then validate, playtest, and capture a fresh cover.For ad creatives, be explicit about the portrait format and export target:
Use openmotion-game to create a portrait 9:16 playable ad (playableAd: true) for a medieval tower-defense mobile game: instant first-frame interaction with a hand tutorial, a 25-second escalating wave battle, and an end card with an App Store / Google Play CTA. Validate, simulate, playtest at 390x844, and bundle as a single-file HTML.Publishing happens in the Studio Publish panel: pick a game platform (WeChat Mini Games, TapTap, Xiaohongshu, Douyin Interactive Space, itch.io, plus guided flows for Douyin Mini Games, QQ Mini Games and Telegram) or an ad network (MRAID, AppLovin, Google Ads, Unity, Meta, TikTok/Pangle, Mintegral, Moloco, Liftoff), enter the store link, and export single-file HTML or a Zip. Choosing TapTap hands off to the official @taptap/cli so the agent logs in, creates the game, builds and uploads the H5 package, uploads icons and promo art and captures screenshots — agreements, qualifications and final review submission stay with you.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- 25 runnable HTML5/Three.js templates with index.html, deterministic logic.js and design/plan.md, design/verification.md — remixing beats prompting a game from scratch.
- The verification loop is real tooling, not advice: 50-tick validation, reference/weak/idle simulation, 1–4-client headless Chrome playtests, canvas cover capture and an FFmpeg-rendered MP4 trailer each map to a named openmotion_game_* tool.
- No agent lock-in: 22 local agents are documented over one stdio MCP contract, including Claude Code, Codex CLI and DeepSeek Harness.
- BYOK multimodal gateway with procedural Canvas sprite and Web Audio fallbacks, so a game can be built and published with zero model keys and zero per-asset cost.
- Local-first data model: games and generated assets live in MOTION_DATA_DIR, separate from the checkout and from your provider keys.
- Distribution is covered in one panel — 8 game platforms and 9 playable-ad networks with size and single-file HTML/Zip preflight.
- Installation is source-level: Git, Git LFS, npm, Node.js 22.18+, npm ci, a studio build, MCP registration and a skill install before the first game.
- Output is HTML5/Canvas/Three.js only; the Unity and Unreal framing in the description does not correspond to native project export.
- Visual ceiling tracks the model you connect — the README itself recommends Claude, Opus, Codex or Gemini for AAA-grade 3D and shaders.
- Some platform paths stay manual: Douyin and QQ Mini Games use guided DevTools/console flows, TapTap agreements, qualifications and review submission are yours, and multi-network batch export plus A/B variants are still roadmap.
- Headless playtesting and trailers require local Chrome and FFmpeg, template assets download on first use, and only Tidebreaker plays offline out of the box.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OpenGame This agent | 52 · Major gaps | Agent plugin / skillFree + model costs | ★ 4.5k | today | TypeScript | Codex · Claude Code |
| Claude Code Game Studio | 69 · Some gaps | Agent plugin / skillFree + model costs | ★ 42k | 22d ago | Shell | Claude Code |
| UltraGameStudio | 54 · Major gaps | Desktop appFree + model costs | ★ 348 | 2d ago | TypeScript | Claude Code · OpenAI API · Claude API |
| anything_about_game - A Curated List of Game Development Resources | 57 · Major gaps | Library / SDKFree | ★ 4.2k | 6d ago | — | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows a local stdio MCP in .mcp.json, AGENTS.md requiring user data and credentials outside the checkout, and skills that preserve credentials and use reversible archive. However, no least-privilege model, sandbox, or fine-grained authorization is shown; publishing and paid generation are constrained mainly by prose; rollback covers installation and project versions but not published content. Scores: least_privilege=1, user_confirmation=2, data_flow_transparency=2, sensitive_data_handling=1, dependency_security=2, external_effects=1, rollback=1, source_attribution=2.
package.json pins dependency versions and sets overrides, CI uses npm ci and gitleaks, and docs provide concrete recovery instructions and blocker reporting. But the repository name/description point to opengame while the README sample is OpenMotion video, the package is named openmotion, and AGENTS.md mixes OpenMotion/OpenGame, so product identity is inconsistent; Node versions differ across engines, CI, and docs. Scores: self_consistency=1, dependency_availability=2, failure_messages=2.
Skills cover game/design/motion/media, explicitly exclude pure coding Q&A and repository development, state that local stdio is not a hosted cloud MCP, and say installation alone does not authorize creation/publishing; multiple hosts and an OS matrix are supported. But trigger boundaries are scattered across skills and legacy names, setup is complex, and Node versions differ. Scores: audience_and_scenarios=2, capability_boundaries=2, trigger_precision=2, environment_fit=2.
Installation documentation is thorough, covering source, npm, DSH, Codex, and candidate routes, and the Apache-2.0 LICENSE is complete; the README has many examples and use cases, and docs list some limitations. But information architecture is confusing: the README sample is video rather than game, AGENTS.md mixes product names, openmotion/opengame/opendesign naming is unstable, there is no CHANGELOG, and maintenance responsibility and publisher identity are unclear. Scores: information_architecture=1, install_notes=3, naming_stability=1, examples_and_faq=2, known_limitations=2, license=3, versioning_changelog=1, maintenance_responsibility=1.
Skills claim playable games, designs, videos, and exports, but the packet contains no actual output or acceptance evidence; claims such as “$100K game,” “100+ viral games,” and “9 networks” are unsupported in the sample, and the README sample leans toward video. Open source and BYOK offer cost advantages, but paid media generation and complex setup add cost. Scores: output_usability=1, marginal_value=1, cost_benefit=1.
The README links examples and original creators, and docs separate technical validation from human acceptance, installation from activation, and prepared from visible delivery. However, many product claims cannot be traced within the packet, cross-file evidence is weakened by mixed product identity, and fact/inference separation is not consistently applied. Scores: claim_traceability=1, cross_source_corroboration=1, fact_inference_separation=2.
- The packet's README is an OpenMotion video product while the description and skills point to an OpenGame game agent; confirm the actual product boundary before treating the “Super Game Agent” claims as representative.
- Installation, publishing, and paid generation have textual authorization requirements, but no least-privilege model, sandbox, or rollback for published content is shown; review MCP access to local files, browser, and publishing credentials for production use.
- Dependencies are pinned, but no npm audit/SBOM evidence is present; Node versions differ across engines, CI, and docs, so align them before deployment.
- Naming and migration paths are complex (openmotion/opengame/opendesign, legacy kernel); verify old tool names and skill migration do not cause duplicate registration or routing conflicts.
FAQ
Do I have to buy model API keys to use it?
Which agents does it actually connect to?
Can it output a Unity or Unreal project?
What does the Publish panel actually do for me?
How do I know a generated game is actually winnable?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.