PlayableIntelligence/game-creator

Opinionated Claude Plugin to make 2D (Phaser) & 3D (ThreeJS) Games

What it solves

Building a browser game from scratch normally takes hours or days of coding, art, audio, and debugging. This project gives AI coding agents a structured, battle-tested pipeline that turns a simple idea (like "make a space invaders game") into a fully playable, deployed, and monetized browser game in about 10 minutes. It eliminates the guesswork of how to structure game code, how to add pixel art and sound, how to test for bugs, and how to publish to the web.

How it works

You install the skill pack with npx skills add playableintelligence/game-creator, then invoke slash commands like /game-creator:viral-game 2d my-game (or just paste a tweet URL). The main agent orchestrates a series of steps: scaffolding a game from a pre-built template (Phaser for 2D, Three.js for 3D), adding pixel art sprites, applying visual polish (particles, screen shake), generating procedural chiptune audio (via Strudel.cc), deploying to a free hosting service (here.now), and finally registering the game on Play.fun for monetization.

A crucial part is the QA subagent that runs after every code-modifying step. It performs five checks: build success, runtime errors, gameplay verification (replaying actions and checking scoring), architecture conformance, and visual review via screenshots. If any check fails, an autofix subagent patches the code and QA reruns (up to 3 attempts).

The whole system follows a consistent architecture: every game uses a central event bus, a single game state object, and a constants file (no magic numbers). Each game also exposes a render_game_to_text() function that outputs the current game state as JSON, so AI agents can "read" the game without looking at pixels.

Who it's for

This is aimed at developers and hobbyists who use AI coding agents (like Claude Code, Codex, or Cursor) and want to quickly prototype, polish, and ship browser games. It's also useful for anyone who wants to learn how to structure a maintainable game project, since the templates and architecture patterns are clean and well-documented.

Highlights

  • Works with 40+ AI coding agents — just install once and use the same slash commands everywhere.
  • Two workflows: /viral-game for a one-shot 10-minute pipeline, /make-game for a multi-session, milestone-based project with ADRs and state tracking.
  • Built-in QA with headless Chromium testing that catches bugs early — build, runtime, gameplay, architecture, and visual checks after every step.
  • Automatically generates pixel art sprites, procedural music and sound effects, and adds visual polish (particles, screen shake, transitions).
  • One-command deployment to here.now (or GitHub Pages, Vercel, Netlify, itch.io) and monetization via Play.fun with anti-cheat limits and a non-blocking SDK.
  • Includes 8 complete example games (2D and 3D) with full test suites and audio.
  • Licenses: MIT for the project itself, but games using Strudel.cc audio must be AGPL-3.0 compatible.

Related

  • Project
  • Project
  • Project
  • Project