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

More in Games & Puzzles

Concept Duel Arena

A real-time multiplayer classroom game where students race to build accurate concept maps for CS topics, with an LLM validating every connection live and revealing class-wide misconceptions at the end.

Games & PuzzlesTeaching toolMediumJul 28, 2026

Gameplay Postmortem Agent

Students build a simple 2D game with a structured action-log system, then build an LLM agent that reads session logs and writes a rich narrative postmortem of a player's run: strategies tried, failure patterns, skill progression, and emergent play style.

Games & PuzzlesClass assignmentLargeJul 22, 2026

Procedural Game Balance Tester

Students implement a turn-based game with a defined API; an AI harness runs thousands of Monte Carlo playthroughs to surface dominant strategies, snowball effects, and unreachable game states, then generates a balance report with replay links.

Games & PuzzlesClass assignmentLargeJul 7, 2026

Bounded Knowledge NPC Builder

Students build a web adventure where NPCs have explicit knowledge graphs; a constraint checker ensures NPCs never assert facts outside their defined belief set.

Games & PuzzlesClass assignmentLargeJul 6, 2026

All 41 ideas in Games & Puzzles →