nexu-io/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.
About nexu-io/opengame
nexu-io/opengame is an open-source project on GitHub, mainly written in TypeScript. The Super Game Agent — the Unity & Unreal for AI agents, with 100+ viral games to remix. It currently holds 685 stars and 129 forks with 10 open issues, and was last pushed on 2026-11-26 (repository created 2026-11-25).
Project Overview
AI Homed tracks it on the Today's Trending board.
GitHub Repository Details
README
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.
# 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


















