Architectural Fit
Fabula’s architecture is the closest conceptual match to the LangGraph game surface model of any engine surveyed:
| Fabula Feature | LangGraph Mapping |
|---|---|
| Client-server architecture | LangGraph = server (state/rules), pygame on RG40XXV = client (rendering) |
| Event-based protocol | Client emits {"action": "move", "target": "hex_17"} →
LangGraph node receives → state update returns → client re-renders |
| Visualization-agnostic world model | LangGraph owns world state independent of renderer. Same state powers any client (RG40XXV, Wii canvas, PS2 homebrew) |
| Plugin system for game rules/entities | New LangGraph nodes as plugins that extend graph topology |
| Recording and playback | Complements LangGraph checkpointer for time-travel and review |
| Multi-threaded server | LangGraph’s concurrent Send fan-out for parallel unit execution |
| Pygame-based graphical editor | Visual graph editor for placing/configuring nodes |