Idea · Jul 22, 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.

What it would do

Commercial games studios produce postmortem analyses to understand player behavior, but most CS students never experience this data-driven design loop. In this multi-week assignment, students first build a small grid-based or Phaser.js game with a well-structured event log (every move, death, retry, and decision timestamped and serialized to JSON). In phase two they build a Flask API that accepts a session log file and calls the Claude API to generate a narrative postmortem: what strategies the player experimented with, where they got stuck and how they adapted, whether their style evolved across attempts, and what the game designer could improve. In phase three they build a React dashboard that visualizes the raw log alongside the generated narrative with synchronized highlighting. The result is a portfolio-ready project that teaches game state design, event-driven architecture, REST API construction, LLM prompt engineering, and data visualization in one coherent arc.

Key features

  • Phase 1: Phaser.js game with structured JSON event logging (moves, outcomes, timing)
  • Phase 2: LLM agent that reads logs and generates a player narrative postmortem
  • Phase 3: React dashboard with timeline visualization synchronized to the AI narrative
  • Stretch goal: multi-session comparison to detect skill progression across runs
  • Rubric-friendly deliverables at each phase for phased grading

More in Games & Puzzles

Game Feel Lab

A browser-based sandbox assignment where game development students adjust twelve 'game feel' parameters — squash-and-stretch, screen shake, coyote time, particle bursts, audio pitch variation — on a minimal 2D platformer and run a blind user study to test whether their parameter choices predict the subjective player experience.

Games & PuzzlesClass assignmentLargeAug 8, 2026

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

Procedural Level Lab

A classroom platform where students implement procedural level generation algorithms, then pit their generators against an AI play-tester that scores generated levels for reachability, fairness, and variety.

Games & PuzzlesClass assignmentLargeJul 21, 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.

Games & PuzzlesClass assignmentLargeJul 20, 2026

All 41 ideas in Games & Puzzles →