
opengame
The Super Game Agent — the Unity & Unreal for AI agents, with 100+ viral games to remix. Turn 20+ coding agents (Claude Code, Codex, DeepSeek, etc.) into a f…
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up opengame (git-clone project) into my current project. Found on https://claudeers.com/opengame Repo: https://github.com/nexu-io/opengame Homepage/docs: — Detected install method: git-clone → git clone https://github.com/nexu-io/opengame Category: mcp-servers. Platforms: cli, api, web, mobile. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: unknown; community-verified: false. Confirm the source before running anything.
git clone https://github.com/nexu-io/opengame
// compatibility
| Platforms | cli, api, web, mobile |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | Apache-2.0 |
| Pricing | open-source |
| Language | TypeScript |
The First Super Game Agent — Open-Source Full-Stack AI Game Studio
Quick Start · Agents · Playable Templates · Why OpenGame · Publish & Monetize · Setup & MCP · Community
Introducing OpenGame
OpenGame is the first open-source Super Game Agent — turning DeepSeek (DSH), Claude Code, Codex, or any of your local coding agents into an AI Unreal Engine / Unity and full-stack game studio. Go from a single idea to AAA-grade 3D worlds or monetization-ready viral mini-games in one end-to-end pipeline.
- 🚀 Build AAA-Grade 3D Games with Your Agent. Drive full-stack 3D gameplay, art, music, and voice straight from DeepSeek (DSH), Claude, Codex, or Gemini — from one prompt to playable 3D action, racing, and open-world games.
- 🎮 One-Click Remix & Re-style Any Game. Start from 25 built-in playable templates (3D, voxel, anime, pixel & 9:16 hits) with full editable source — keep proven mechanics while swapping characters, worlds, and art styles in minutes.
- 💰 Build Games That Earn: Create → Verify → Monetize. Automated logic checks, balance simulation, headless playtesting, covers, and gameplay trailers — ship live web links, export single-file 9:16 Playable Ads, and connect publishing paths for WeChat Mini Games, TikTok, and Douyin.
- 🔓 Full-Stack Open Source (BYOA + BYOK). Code, art, video, music, voice, SFX, and Three.js 3D are all open source — plug in your favorite local agent and own API keys, or connect OpenDesign Go (Black Friday lowest-ever discount, with free access to DeepSeek V4.1 Flash, Seedream, and more).
⚡ Quick Start
1. Give one prompt to your local Agent
Paste this instruction into DeepSeek TUI / Harness, Claude Code, Codex, WorkBuddy, Cursor, Gemini CLI, or any of the 22 supported local agents:
Follow https://github.com/nexu-io/opengame/blob/main/docs/opengame-setup.md to connect OpenGame to this agent. For a new install, use a shallow clone (--depth 1) and skip LFS downloads. Open the Game Studio template gallery so I can choose a game. Fetch that game's assets when I play or remix it.
If you find a reproducible OpenGame bug, you're welcome to open a PR against nexu-io/opengame with the fix, steps to reproduce, and how you verified it.
2. Install the Main OpenGame Skill with Skills CLI
Install the main opengame entry Skill (which guides local setup and routes into openmotion-game + 18 game craft, 3C, animation, playable-ad, and QA reference handbooks) with the Skills CLI:
npx skills add https://github.com/nexu-io/opengame/tree/skills --skill opengame
Installing the Skill copies the OpenGame entry instructions into your agent (you can also install
--skill openmotion-gamedirectly). Complete the local Studio & MCP setup below so your agent can call the 12openmotion_game_*tools and open Game Studio.
3. Run OpenGame Studio locally from source
Requires Git, Git LFS, npm, and Node.js 22.18+ (CI pins Node.js 26.11.1). Browse the catalog immediately after startup. Playing or remixing a template downloads its assets on first use. Tidebreaker works offline.
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
Works with 22 local agents (BYOA) · Choose your agent
🕹️ Playable Game Templates & Showcase
OpenGame ships with 25 ready-to-play games right inside templates/games/ — complete with playable HTML5 / Three.js source, artwork, controls, and localization. Play them locally in Game Studio, Remix any title with one click, or Re-style it into your own IP, theme, or brand.
3D, Voxel & Action Games (16:9)
![]() Tidebreaker · 3D · Racing · Three.jsRace a speedboat through a storm-lashed archipelago, jump wave crests, dodge reefs, and beat the tide across eight checkpoints. Inspect source & DESIGN.md → |
![]() Starlight Bastion · Voxel · Shooter · UpgradesDefend a luminous crystal against five escalating waves of voxel invaders, choosing roguelite upgrades between waves. Inspect source & DESIGN.md → |
![]() Skyline Courier · 3D · Platformer · CyberpunkRun, leap, and wall-kick across rain-soaked cyberpunk skyscrapers to deliver three final parcels in 90 seconds. Inspect source & DESIGN.md → |
![]() Neon Drift · 3D · Racing · CyberpunkWeave through rain-slick neon highway traffic, chain near-misses to recharge boost, and chase a new distance record. Inspect source → |
![]() Comet Guard · Shooter · SpacePilot an orbital interceptor in a painted starfield, shatter molten comets, and defend the station through escalating waves. Inspect source → |
![]() Harbor Skirmish · 3D FPS · Grapple & SlideA stylized 3D first-person shooter on a curved island with double-jump, slide, dash, and grappling-hook mobility. Inspect source → |
Stylized, Narrative & Atmospheric Games (16:9)
![]() Glyph Garden · Anime · Puzzle · FantasyTrade moonlit petals and trigger cascading combo blooms to reach 2,200 points in 24 moves. Inspect source → |
![]() Lantern Hop · Pixel · Platformer · FantasyGuide a scarf-wearing pixel fox across layered moonlit rooftops, double-jumping gaps and collecting glowing paper lanterns. Inspect source → |
![]() Lighthouse Log · Anime · Visual novel · SurvivalKeep a coastal lighthouse burning through seven stormy nights, rationing fuel and making impossible radio choices. Inspect source → |
![]() Last Light · Horror · AtmosphericSearch an abandoned school for three keys before your torch dies while keeping the pursuing shade pinned in your beam. Inspect source → |
![]() Night Train Letters · Visual novel · Branching NarrativeThree unsent letters on a rain-soaked night train to the sea — an intimate branching narrative built in pure HTML. Inspect source → |
![]() Stack the Moon · Casual · One-Tap ArcadeBuild a moonlit observatory above the clouds one timed stone at a time; chain perfect landings to widen your tower. Inspect source → |
Viral Portrait Mini-Games & Playable Ads (9:16)
Built for mobile thumbs, instant first-frame engagement, short high-retention loops, and mini-game / playable-ad monetization:
![]() Gate Legion 9:16 · Gate RunnerLead your squad through +10 / ×2 arithmetic gates and clash with the final boss army.Source → |
![]() Pin Rescue 9:16 · Pull-the-Pin PuzzlePull pins to mix water and lava into stone, clear hazards, and deliver gold across five stages. Source → |
![]() Sky Runner 9:16 · 3D Lane RunnerSwipe lanes, collect coins, dodge drones, and boost through an accelerating neon skyway. Source → |
![]() Slime Swell 9:16 · Grow & Devour .ioSwallow street objects, grow bigger than buildings, and outrank three rival slimes in 60 seconds. Source → |
![]() Lane Turret 9:16 · Upgrade ShooterAim a triple-barrel turret, draft upgrade cards, and hold the line across ten waves. Source → |
![]() Merge Bakery 9:16 · Merge & ServeBake dough, merge matching pastries, and serve timed customer orders to hit \$250 in 90 seconds. Source → |
Browse all 25 built-in playable game templates
| Game | Genre | Style | Format | Summary | Source |
|---|---|---|---|---|---|
| Castle Crush | Casual | Anime | 9:16 Portrait | Slingshot physics siege across four timber-and-stone stages | castle-crush |
| Comet Guard | Shooter | Minimal | 16:9 Landscape | Orbital interceptor defending a starfield station from molten comets | comet-guard |
| Drift Dash | Racing | Voxel | 9:16 Portrait | One-thumb retro circuit drifting against three AI rivals | drift-dash |
| Gate Legion | Casual | Pixel | 9:16 Portrait | Viral arithmetic-gate squad multiplier & boss clash | gate-legion |
| Glyph Garden | Casual | Anime | 16:9 Landscape | Cascading fantasy match-3 bloom puzzle | glyph-garden |
| Harbor Skirmish | Shooter | 3D | 16:9 Landscape | Stylized 3D FPS with double-jump, slide, dash, and grapple | harbor-skirmish |
| Jingyang Ridge | Casual | Anime | 16:9 Landscape | Ink-wash martial arts boss duel — read tells, dodge lanes, punish | jingyang-ridge |
| Lane Turret | Shooter | Pixel | 9:16 Portrait | Auto-turret wave defense with upgrade cards | lane-turret |
| Lantern Hop | Platformer | Pixel | 16:9 Landscape | Moonlit rooftop fox endless double-jump runner | lantern-hop |
| Last Light | Horror | Minimal | 16:9 Landscape | Flashlight survival escape through an abandoned school | last-light |
| Lighthouse Log | Visual novel | Anime | 16:9 Landscape | Seven stormy nights of fuel rationing & branching radio choices | lighthouse-log |
| Merge Bakery | Casual | Anime | 9:16 Portrait | Bake, merge pastries, and clear timed customer orders | merge-bakery |
| Neon Drift | Racing | 3D | 16:9 Landscape | Rain-slick synthwave highway traffic weaving & boost | neon-drift |
| Night Train Letters | Visual novel | Minimal | 16:9 Landscape | Intimate branching story of three unsent letters on a night train | night-train |
| Periscope Depth | Shooter | Minimal | 16:9 Landscape | Submarine patrol: torpedo carriers on periscope, dodge sonar depth charges | periscope-depth |
| Pin Rescue | Casual | Minimal | 9:16 Portrait | Pull-the-pin lava, water, and gold physics puzzles | pin-rescue |
| Rooftop Roast | Casual | Minimal | 16:9 Landscape | Brandable café promo drone game — edit one SHOP object to rebrand | rooftop-roast |
| Sky Runner | Racing | 3D | 9:16 Portrait | Cyberpunk 3D hoverboard lane runner with coins & boost | sky-runner |
| Skyline Courier | Platformer | 3D | 16:9 Landscape | 3D rooftop parkour & wall-kicks against a 90-second timer | skyline-courier |
| Slime Swell | Casual | Minimal | 9:16 Portrait | City-devouring growth arena against three rival slimes | slime-swell |
| Sort Stack | Casual | Minimal | 9:16 Portrait | Five-stage ring-sorting logic puzzle with undo | sort-stack |
| Stack the Moon | Casual | Minimal | 16:9 Landscape | One-tap moonlit observatory tower stacker | stack-the-moon |
| Starlight Bastion | Shooter | Voxel | 16:9 Landscape | Five-wave crystal defense with roguelite upgrades | starlight-bastion |
| Tidebreaker | Racing | 3D | 16:9 Landscape | Storm archipelago 3D speedboat racing & wave jumps | tidebreaker |
| Tilt Temple | Casual | 3D | 9:16 Portrait | 3D floating labyrinth — tilt, collect the key, reach the portal | tilt-temple |
✨ Why OpenGame
1. One-Click Remix & Re-style — Powered by Game-as-Code
Building a polished game from a blank prompt is hard for any model. OpenGame solves this by separating verified game engineering from theme, art direction, and content:
- Every game is clean, inspectable source:
index.html, deterministiclogic.js, vendored Three.js for 3D titles, plus structured design docs (design/plan.md,design/style.md,design/assets.csv,design/verification.md). - Remix in one click: Click Remix on any of the 25 templates in Game Studio (or ask your agent to remix it) to fork an owned, editable draft with full controls, tuning knobs, and automated test hooks already wired up.
- Re-style into any universe: Swap genre dressing, characters, palette, sprites, textures, and music without breaking physics or win/loss rules — ideal for fast iteration with affordable models like DeepSeek, or pushing AAA-grade 3D & shader ambition with Claude Fable 5.2, Opus, Codex, and Gemini.
Try these prompts in your connected Agent:
# 1. One-click Remix & Re-style (great for DeepSeek / fast models)
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.
# 2. Build a 9:16 Playable Ad ready for mobile campaigns
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.
# 3. Original 3D Game from Scratch (great for Claude Fable 5.2 / Opus / Codex / Gemini)
Use openmotion-game to create a 3D wuxia boss-duel game (style: "3d") set on a misty bamboo cliff at dusk. Include parry timing, dodge i-frames, stamina management, and two boss phases. Run 3-tier simulation, headless Chromium playtest, capture a 1280x720 cover, and record a gameplay trailer.
2. Full-Stack Multimodal Game Creation (BYOK)
A real game needs more than code — it needs key art, character sprites, seamless 3D textures, music loops, voice lines, and crisp sound effects. OpenGame's Model Gateway wires multimodal generation directly into the game project while keeping your API keys local and separate from game source.
| Game Asset Layer | Recommended Models (when configured in Model Gateway) | Zero-Key / Built-in Fallback |
|---|---|---|
| 🖼️ Key art, portraits, sprites & textures | GPT Image 2.6 (edits & transparent PNGs), Seedream 5.5 / 5.0 Flash, Nano Banana 2, FLUX, Codex Image | Crisp procedural Canvas/SVG sprites & procedural textures |
| 🎵 Background music (menu, stage, boss) | ElevenLabs Music v2 (no vocals loops), Suno v4 | Procedural Web Audio synthesized soundtrack |
| 🎙️ Character voice & announcer lines | ElevenLabs v3 (English & multilingual), BytePlus TTS 2 (Chinese), Kokoro | Styled dialogue captions & subtitle UI |
| 🎬 Intro cutscenes & motion clips | Wan 2.7, Seedance 2.5 (short I2V clips) | In-engine animated intro camera & title sequence |
| 🔊 Impact SFX (hits, jumps, coins, UI) | Synthesized directly in game code via the Web Audio API | Same (zero latency, zero external files) |
| 🧊 3D scenes & models | Vendored Three.js + bundled CC0 kits + reserved 3D gateway slot (auto-discovered when connected) | Procedural Three.js geometry, lighting & shaders |
OpenGame charges no software subscription for the local open-source stack. Use your own provider keys in Model Settings, connect OpenDesign Go for unified multi-model access, or build 100% code-generated zero-API-cost games. Model catalog · Provider setup
3. Automated Game QA, Balance Simulation & Auto-Trailers
Agents shouldn't just output code and hope it runs. OpenGame enforces an automated engineering verification loop before marking any game ready:
- Static & 50-Tick Logic Validation (
openmotion_game_validate) — Verifiesindex.html, allowed asset/CDN policies, required deterministic exports, and runs a 50-tick smoke test (< 5 msper tick). - 3-Tier Deterministic Balance Simulation (
openmotion_game_simulate) — Executes bounded headless routes without a browser to verify that a skilledreferenceroute reaches a real win milestone, a degraded weak route struggles, and anidleplayer loses cleanly (< 2500ticks). - Headless Chromium Playtesting (
openmotion_game_playtest) — Drives real keyboard/mouse/touch controls across 1–4 clients, checking 3C responsiveness,390×844mobile layout integrity, media URL loads, and zero console/network errors. - Game-Only Cover Capture (
openmotion_game_capture_cover) — Captures a clean1280×720PNG directly from the game canvas in isolated headless Chrome. - Automated Gameplay Trailer (
openmotion_game_trailer) — Records three real 5-second headless gameplay clips at1280×720, composes an editable ~19-second title + highlights + Play Now trailer, and renders an MP4 ready for social launch.
🚀 End-to-End Distribution & Monetization
Turn playable prototypes into real games people can play, share, and pay for.
| Stage | Available Today | Roadmap (In Progress) |
|---|---|---|
| Play & Local Catalog | Publish straight to your local OpenGame Studio market (openmotion_game_publish) with play tracking, favorites, and 1-click Remix | Top 100 Profitable Mini-Game Templates curated by genre & revenue mechanics for instant remixing |
| Instant Web Share | One-click static bundle & live web share link via OpenDesign Cloud (openmotion_assets_use action="web_publish"), rewriting local media URLs and compressing assets automatically | Custom domain & embeddable game widget cards |
| Mobile Playable Ads | Built-in 9:16 Playable Ad mode (playableAd: true): first-frame instant play, hand tutorial, rich short-level progression, looping BGM, and App Store / Google Play end-card CTA | Direct ad-network packaging presets (AppLovin, Unity Ads, Meta, TikTok) |
| Mini-Game Platforms & Monetization | Clean self-contained HTML5/JS project exports ready for manual platform wrapping, plus auto-recorded gameplay trailers for launch marketing | L1–L4 Guided Platform Publishing (packaging scripts, checklists & Skills) for WeChat Mini Games (微信小游戏), Douyin Mini Games (抖音小游戏), TikTok, Xiaohongshu Mini-Tools, and itch.io / Poki / CrazyGames |
| AI Game Playground | Local single-player & existing room-based playtesting | Multi-Model Live Game Arena — pit multiple frontier LLMs against each other inside live games in real time |
🛠️ Setup & MCP Tools
Connect Your Local Agent
Choose your agent to connect the local OpenGame MCP server and Skills:
- DeepSeek TUI / Harness · Install the
openmotion-gameskill and connect the local MCP tools via Cordis configuration, or runnode integrations/dsh/install.tsfrom the checkout. DeepSeek Harness guide - 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. - WorkBuddy · Import the connector or paste the
mcp.jsonconfiguration below. WorkBuddy guide
Manual stdio MCP configuration (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"
}
}
}
}
Keep
MOTION_DATA_DIRoutside the git checkout so your games, generated assets, and provider keys stay cleanly separated from repository updates. See the full setup guide and architecture reference.
12 Dedicated Game MCP Tools
OpenGame exposes a complete game-engineering tool surface over local stdio MCP (using the shared openmotion_game_* namespace so existing hosts and adapters stay 100% compatible):
| MCP Tool | Purpose |
|---|---|
openmotion_game_create | Create a new game draft (2D, 3D with vendored Three.js, or 9:16 playableAd) and return the complete agent brief |
openmotion_game_get | Read a game card, lifecycle status, and full file inventory |
openmotion_game_read_file | Read any source or design file inside a game project |
openmotion_game_write_files | Batch-write cohesive game source and design files (up to 100 text files / 8 MiB per owned game) |
openmotion_game_update_meta | Merge title, description, controls, cover path, and localized metadata (zh-CN, etc.) |
openmotion_game_validate | Check index.html, CDN policy, deterministic logic exports, and run a 50-tick smoke test |
openmotion_game_simulate | Run bounded 3-tier deterministic headless simulations (reference win / weak / idle loss) |
openmotion_game_playtest | Launch isolated headless Chrome (1–4 clients) to test real input controls, 390×844 layout, and console cleanliness |
openmotion_game_capture_cover | Capture a clean 1280×720 PNG directly from the game canvas into assets/cover.png |
openmotion_game_trailer | Record real headless gameplay clips and render an editable ~19-second MP4 trailer |
openmotion_game_set_status | Transition lifecycle status (building, ready, failed) |
openmotion_game_publish | Revalidate and publish the game into the local Game Studio catalog |
Plus openmotion_media_use (discover & inspect configured BYOK multimodal models) and openmotion_assets_use (generate images/music/voice/video and run action: "web_publish" for one-click cloud share links). Full MCP contract
Game Engineering Skill & 18 Reference Handbooks
Every connected agent can read skills/openmotion-game/SKILL.md (or openmotion://workflow/game/start via MCP resources) along with 18 specialized engineering handbooks:
| Domain | Reference Guides |
|---|---|
| Game Design & Structure | Brief Standard · Genres & Core Loops · Design System · Reference Lookup |
| 3C, Controls & Game Feel | 3C Modules · Game Feel & Craft · Production Flow |
| Visuals, 2D/3D & Audio | Stylization · Textures · 2D Animation · 3D Animation · Procedural Motion · Audio & Web Audio |
| Playable Ads & Quality Gates | Playable Ad Spec · Quality Gates · Review Rubric |
Tech Stack & Source Map
| Layer | Technology | Entry Points |
|---|---|---|
| OpenGame Studio UI | React 19, TypeScript 5.9, Vite 6, Tailwind CSS 4, Zustand | GameStudio.tsx · gameCatalog.ts |
| Game Runtime & QA | Node.js, native HTTP, Puppeteer Core / Chrome, deterministic simulator | game-projects.ts · shared/game-contract.ts · server.ts |
| MCP & Agent Skills | Local stdio MCP server, opengame entry Skill, openmotion-game workflow & 18 handbooks | mcp.ts · skills/opengame/SKILL.md · skills/openmotion-game/ |
| Multimodal Gateway | BYOK model discovery, job polling, asset library & web publish | gateway/service.ts · gateway/catalog.ts · docs/assets.md |
| Playable Templates | 25 standalone HTML5 / Canvas / Three.js games with covers & metadata | templates/games/ |
| Trailer Pipeline | Headless gameplay capture + HTML composition + FFmpeg MP4 export | docs/usage.md · scripts/verify-export.ts |
🤝 Build Games Together
Share a playable game template, a remixable mini-game genre kit, an art-style guide, a platform publishing script (WeChat / Douyin / TikTok / itch.io), or a Game Studio improvement.
| Contribution | What to include |
|---|---|
| A playable game template | Self-contained folder under templates/games/<id>/ with index.html, game.json, cover.webp, and optional DESIGN.md |
| A genre or playable-ad recipe | Clear 3C rules, balance invariants, and reference verification notes |
| Platform publishing adapters | Packaging scripts, manifest generators, or submission checklists for mini-game & web portals |
| Agent & model integrations | Host setup adapters or BYOK multimodal provider support |
Contribute · Repository Guidelines · Report an Issue
Contributors
Thanks to everyone who has taken part — code, game templates, skills, docs, feedback, and issues.
Star History
// faq
What is opengame?
The Super Game Agent — the Unity & Unreal for AI agents, with 100+ viral games to remix. Turn 20+ coding agents (Claude Code, Codex, DeepSeek, etc.) into a full-stack AI game studio. Build and publish 3D & mini-games to WeChat, Douyin, TikTok, Telegram, itch.io, and more.. It is open-source on GitHub.
Is opengame free to use?
opengame is open-source under the Apache-2.0 license, so it is free to use.
What category does opengame belong to?
opengame is listed under mcp-servers in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/opengame)
// retro hit counter
[](https://claudeers.com/opengame)
// reviews
// guestbook
// related in MCP Servers
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete…
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
An open-source AI agent that brings the power of Gemini directly into your terminal.


















