OpenGame
A super game engine designed for AI agents, enabling over 20 coding agents such as Claude Code, Codex, and DeepSeek to be integrated into a full-stack AI game development platform, along with more than 100 customizable game templates.
Introduction
The First Super Game Agent — Ship Your First $100K Game
Quick Start · Agents · Playable Templates · Why OpenGame · Publish & Monetize · Setup & MCP · Community
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.
- 💰 Ship Your First $100K Game: Create → Verify → Monetize. Automated logic checks, balance simulation, headless playtesting, covers, and gameplay trailers — publish to 8 game platforms (including TapTap Agent-guided via official CLI, WeChat / Douyin / QQ Mini Games, Xiaohongshu, Telegram, and itch.io) or export 9:16 Playable Ads for 9 ad networks (AppLovin, Google Ads, Unity, Meta, TikTok / Pangle, Mintegral, Moloco, Liftoff & MRAID).
- 🔓 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 and open the Game Studio template gallery.
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.js
Race a speedboat through a storm-lashed archipelago, jump wave crests, dodge reefs, and beat the tide across eight checkpoints.
Starlight Bastion · Voxel · Shooter · Upgrades
Defend a luminous crystal against five escalating waves of voxel invaders, choosing roguelite upgrades between waves.
Skyline Courier · 3D · Platformer · Cyberpunk
Run, leap, and wall-kick across rain-soaked cyberpunk skyscrapers to deliver three final parcels in 90 seconds.
Neon Drift · 3D · Racing · Cyberpunk
Weave through rain-slick neon highway traffic, chain near-misses to recharge boost, and chase a new distance record.
Comet Guard · Shooter · Space
Pilot an orbital interceptor in a painted starfield, shatter molten comets, and defend the station through escalating waves.
Harbor Skirmish · 3D FPS · Grapple & Slide
A stylized 3D first-person shooter on a curved island with double-jump, slide, dash, and grappling-hook mobility.
Stylized, Narrative & Atmospheric Games (16:9)
Glyph Garden · Anime · Puzzle · Fantasy
Trade moonlit petals and trigger cascading combo blooms to reach 2,200 points in 24 moves.
Lantern Hop · Pixel · Platformer · Fantasy
Guide a scarf-wearing pixel fox across layered moonlit rooftops, double-jumping gaps and collecting glowing paper lanterns.
Lighthouse Log · Anime · Visual novel · Survival
Keep a coastal lighthouse burning through seven stormy nights, rationing fuel and making impossible radio choices.
Last Light · Horror · Atmospheric
Search an abandoned school for three keys before your torch dies while keeping the pursuing shade pinned in your beam.
Night Train Letters · Visual novel · Branching Narrative
Three unsent letters on a rain-soaked night train to the sea — an intimate branching narrative built in pure HTML.
Stack the Moon · Casual · One-Tap Arcade
Build a moonlit observatory above the clouds one timed stone at a time; chain perfect landings to widen your tower.
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 Runner
Lead your squad through +10 / ×2 arithmetic gates and clash with the final boss army.
Pin Rescue · 9:16 · Pull-the-Pin Puzzle
Pull pins to mix water and lava into stone, clear hazards, and deliver gold across five stages.
Sky Runner · 9:16 · 3D Lane Runner
Swipe lanes, collect coins, dodge drones, and boost through an accelerating neon skyway.
Slime Swell · 9:16 · Grow & Devour .io
Swallow street objects, grow bigger than buildings, and outrank three rival slimes in 60 seconds.
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.
<