arXiv · 2608.12195
IF:CARGO: LLM-Based Semantic Compilation for Al-Native Rule Programming Games
Abstract
This case study presents IF: CARGO, an experimental puzzle game that uses a large language model as a semantic compiler rather than an autonomous game-playing agent. Players author IF/THEN rules in natural language, which the model translates into a constrained command schema for deterministic validation and execution by the game engine. This architecture creates a playable loop of expression, execution, observation, and revision, framing AI interaction as semantic debugging. A mixed-methods playtest with 24 participants across eight levels examined player attempts, thinking time, perceived controllability, adjustability, and interpretations of the AI's role. Results suggest that players generally understood the model as a translation intermediary and could revise their strategies through feedback, while periodic commands, multi-robot coordination, and rule-priority mechanics created greater cognitive and diagnostic demands. The study proposes a practical pattern for AI-native gameplay: constrain natural-language input, preserve player authorship, and ensure deterministic execution.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ting-Chen Hsu, Lianye Zhang, Jiangxu Lin, Zhaoyi Yu, Fei Qin, Zihao Chen. 2026-08-12. IF:CARGO: LLM-Based Semantic Compilation for Al-Native Rule Programming Games. https://arxiv.org/abs/2608.12195
Cite the original work for its findings. Save a collection to share your selection of sources.