Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

nexu-io/opengame

Games

A local-first AI game studio that connects coding agents to 25 playable HTML5/Three.js templates and 12 MCP tools for remixing, validating, and publishing mini-games.

This project ships 200 agent skillsSkill list and install →
260
52
TypeScript
Apache-2.0
1 day old

What it is

OpenGame is a local-first game studio driven by coding agents. Instead of asking a model to invent a game from a blank prompt, it pairs an agent with 25 self-contained playable templates under templates/games/ and a set of game-engineering MCP tools. A connected agent can remix an existing template, swap art direction and story, then validate, simulate, playtest, and publish the result. It is aimed at indie developers, playable-ad creators, and people who already work inside a coding agent such as Claude Code, Codex, Cursor, or DeepSeek TUI.

How it works

The project separates verified game engineering from content. Each template contains an index.html, deterministic logic.js, vendored Three.js for 3D titles, and design docs. A local stdio MCP server exposes 12 openmotion_game_* tools: create, read/write files, update metadata, validate, simulate, playtest, capture cover, render trailer, set status, and publish. Validation runs a 50-tick smoke test; simulation runs three deterministic routes (reference win, weak, idle loss); playtest drives headless Chromium at 390x844 through 1-4 clients. Two more tools, openmotion_media_use and openmotion_assets_use, handle BYOK multimodal assets and web publishing (MCP contract).

Quick start

Prerequisites: Git, Git LFS, npm, and Node.js 22.18 or newer. The clone deliberately skips LFS downloads, and template assets are fetched on first play or remix.

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

After startup, Game Studio opens and the catalog is browsable. Install the entry skill into your agent with npx skills add nexu-io/opengame --skill opengame, then follow the agent-specific connection steps to register the local MCP server (setup guide, agent adapters). For example, Claude Code uses a stdio MCP entry pointing at mcp.ts with MOTION_DATA_DIR set to a directory outside the checkout.

Constraints

  • Node.js 22.18+ is required; CI pins a newer version. Git LFS must be installed even though the initial clone skips smudging.
  • Model-generated images, music, voice, and video require your own provider API keys, configured in Model Settings. Without keys, games fall back to procedural Canvas/SVG art, Web Audio soundtracks, and captions.
  • Publishing today includes a local Studio catalog, a cloud share link through OpenDesign Cloud, and 9:16 playable-ad export. Direct packaging presets for WeChat, Douyin, TikTok, and other mini-game platforms are listed as roadmap, not shipped functionality.
  • Licensing is Apache-2.0.

HotRepo's take

OpenGame appeared on the new-project board on 2026-11-26, gaining 132 stars and 25 forks over an observed window of roughly 1.5 hours, from 128 to 260 stars. That is a short single-snapshot window, so it supports only the fact of a fast first-day pickup, not a trend. The more substantial signal is the repository structure: 273 skill files, 25 playable templates, and an MCP tool surface with concrete validation and simulation steps. The project's stated ambition of being a "Unity for AI agents" is overstated given the HTML5/Three.js runtime, but the template-first remix workflow is a real, inspectable alternative to prompt-to-game generation.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.