Idea · Jun 20, 2026
Behavior Tree Studio
Students build a visual drag-and-drop behavior tree editor for game NPCs, with a Claude assistant that explains the tree in plain English, warns about edge cases, and exports a runnable TypeScript or Python runtime.
What it would do
Students build a browser-based visual editor for game NPC behavior trees, where they design AI using drag-and-drop composite, decorator, and action nodes. An embedded Claude assistant explains what the tree will make the NPC do in plain English, suggests missing edge cases, and auto-generates a TypeScript or Python runtime that executes the tree in a tiny test sandbox.
Key features
- Visual canvas with draggable nodes: Sequence, Selector, Fallback, Inverter, and leaf actions with configurable parameters
- Claude API integration that reads the current tree JSON and generates a plain-English behavior walkthrough plus edge-case warnings
- Executable runtime export: Claude generates TypeScript or Python from the tree that students drop into their own game project
- Test sandbox: a tiny grid-based scene where an NPC runs the exported behavior tree so students see it in action before exporting