Idea · Aug 2, 2026

Self-Narrating Game Agent

Students build a simple game and an AI agent that plays it while narrating every decision in natural language -- then evaluate whether the narrations are faithful explanations or post-hoc rationalizations.

What it would do

This multi-week assignment fuses two of the hardest ideas in AI: making an agent that plays well and making an agent that explains itself honestly. Students first build a small game (turn-based dungeon, tower defense, or maze -- their choice using Phaser or a text-based Python engine). They then implement a rule-based or search-based AI agent that plays the game and, after each decision, generates a natural-language rationale via the Claude API ('I moved left because the right corridor had three enemies and I needed a health pickup'). The final deliverable is an evaluation report: students use a structured rubric to judge whether the narrations faithfully reflect the agent's actual decision logic or merely sound plausible. This teaches game AI, prompt engineering, and the faithfulness vs. plausibility distinction central to AI explainability research. Connects directly to Pisan's 2001 work on agents that justify their actions.

Key features

  • Starter scaffold in Phaser (browser) or Python (terminal) for the game engine
  • Agent architecture template with a decision hook that feeds context to the Claude API for narration
  • Evaluation rubric: faithfulness score (does the narration match the actual decision inputs?), fluency, and misleadingness
  • Optional multiplayer mode: two student-built agents compete while narrating, and peers vote on whose narrations are more truthful

More in AI Literacy & Ethics

From-Scratch Neural Net with Live Visualization

Students implement a two-layer feedforward neural network in vanilla Python or TypeScript, then build a browser-based D3 visualization that animates forward-pass activations and gradient flow during backpropagation, culminating in a live-trainable demo on XOR or a 2D toy dataset.

AI Literacy & EthicsClass assignmentLargeAug 14, 2026

Dataset Ethics Audit Pipeline

Students build a CLI tool and React dashboard that ingests any tabular dataset and produces a structured ethics audit report covering demographic balance, historical bias, missing consent signals, and intersectionality gaps — with a remediation roadmap.

AI Literacy & EthicsClass assignmentLargeAug 11, 2026

Socratic Agent Trio

A multi-week assignment where students design and build a three-agent chatbot system — an Explainer, a Devil's Advocate, and a Synthesizer — then run a peer user study measuring whether their trio improves quiz scores on a target CS concept.

AI Literacy & EthicsClass assignmentLargeJul 31, 2026

GenAI Social Thermometer

Students anonymously log which help source they used for each assignment (peer, TA, AI, textbook, self). Instructors see a real-time dashboard of class-level help-seeking trends, including whether peer collaboration is declining as AI use rises.

AI Literacy & EthicsTeaching toolMediumJul 19, 2026

All 110 ideas in AI Literacy & Ethics →