Idea · Jul 20, 2026
Multi-Agent Game Production Studio
Students build a playable Phaser.js browser game by orchestrating four specialized AI agents (Game Designer, Sprite Describer, Level Builder, QA Playtester) that communicate through MCP tools and a shared Supabase state store, teaching multi-agent software engineering through a motivating game production workflow.
What it would do
This multi-week classroom assignment uses game production as the domain for teaching multi-agent software engineering. Students orchestrate four specialized Claude agents that mirror real game studio roles: the Game Designer agent reads a student-supplied one-paragraph game concept and produces a structured Game Design Document (GDD) in JSON, including mechanics, win conditions, and level specifications. The Sprite Describer agent reads the GDD and generates detailed textual descriptions for each game asset (player, enemies, tiles, UI elements), formatted for a pixel-art generation prompt. The Level Builder agent reads the GDD and sprite manifest and writes the corresponding Phaser.js scene code, complete with tilemap setup, physics configuration, and entity placement. The QA Playtester agent reads the GDD, the sprite manifest, and the generated scene code, then produces a structured review flagging inconsistencies between the spec and the implementation (e.g., 'GDD specifies double-jump mechanic but no jump velocity multiplier is present in scene config'). Students write the orchestration layer: a Node.js or Python script that assigns tasks to agents, passes structured context between them via MCP tool calls, stores shared state in Supabase, handles retry on agent failures, and logs each agent's reasoning trace. The final deliverable is a playable browser game plus a written reflection comparing the agent-orchestrated workflow to a human team workflow: where did the agents help, where did they hallucinate or diverge, and what orchestration decisions made the biggest difference. A four-milestone structure keeps the project tractable: single-agent GDD generation, two-agent GDD-to-level handoff, full four-agent pipeline, polished game plus reflection.
Key features
- Four specialized agent roles: Game Designer (GDD), Sprite Describer (asset manifest), Level Builder (Phaser.js scene code), QA Playtester (spec-vs-code review)
- MCP tools for shared state: read_gdd, write_gdd, read_sprite_manifest, write_sprite_manifest, read_scene_code, write_issue_list
- Students write the orchestration layer (task routing, context handoff, retry logic, trace logging)
- Supabase backend stores all agent artifacts so the dashboard and agents share a single source of truth
- Live React dashboard shows agent conversation threads, current artifact state, and open QA issues
- Four-milestone structure: single agent, two-agent handoff, full pipeline, playable game plus reflection