Idea · Jul 21, 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.
What it would do
Students choose a level generation algorithm (cellular automata, BSP partitioning, Perlin noise, wave function collapse) and implement it in a provided TypeScript scaffold that outputs a 2D tile grid. A shared backend accepts generator submissions, runs each 100 times to produce sample levels, then sends each level to a Claude-powered evaluator that checks reachability (can the player reach the exit?), fairness (are enemies placed near spawn?), and aesthetic variety (repeated patterns penalized). Results populate a live class leaderboard updated after each submission. A replay viewer lets students watch AI commentary on a specific level. Teaches algorithm design, testing at scale, and game design heuristics simultaneously. The AI evaluator rubric is visible so students can game-design their way to a better score.
Key features
- TypeScript scaffold with a defined TileGrid output interface for any generation algorithm
- Claude-powered play-tester that evaluates reachability, fairness, and variety with commentary
- Live class leaderboard updated on each submission, with per-dimension breakdowns
- Replay viewer showing AI commentary on individual generated levels