When players write game rules in everyday language, they need to know whether an unexpected move came from their plan, the model’s reading of it, or the way the game resolved it. In the 2026 paper IF:CARGO: LLM-Based Semantic Compilation for AI-Native Rule Programming Games, Ting-Chen Hsu, Lianye Zhang, Jiangxu Lin, Zhaoyi Yu, Fei Qin and Zihao Chen report that most playtest participants saw the large language model (LLM) as a translator, while several levels involving timing or rule interactions took more work. The prototype suggests where to draw the line: give the model the job of translating the player’s words into a rule the game supports, and have the engine determine when it fires, which rule wins a conflict, and what happens next.
Where Interpretation Stops
IF: CARGO puts the model where a conventional rule editor would put its menus. Players type an IF condition and a THEN action for robots moving around a grid. Instead of asking players to select each part from a menu, the prototype asks the model to fill in a fixed set of fields: a condition, an action, a target robot or rule chip, and details such as direction or step count. The authors call this semantic compilation because the model translates what the words appear to mean into a rule the engine can check against the mechanics it supports.
Once the engine has accepted the translation, it resolves the rules without consulting the model again. The authors write, “The LLM does not plan solutions or control robots continuously; strategy remains authored by the player.” The engine checks the board, carries out actions whose conditions are met, and applies the game’s priority order if rules conflict. With the same accepted rules, starting state and inputs, the engine can reproduce the same sequence of moves. That distinction matters when a player wants to replay a mistake, because asking the model to translate the original wording again could produce a different rule.
What Players Had to Debug
The playtest found that some levels took more attempts and felt harder to control than others. The authors tested 24 participants across eight levels, recording thinking time, attempts and command inputs. They also asked players to rate how controllable the robots felt and how readily they could adjust a failed solution. The first reactive-command level averaged 1.42 attempts and 4.50 out of 5 for perceived controllability, while the periodic-command level averaged 4.08 attempts and 3.50 for controllability. Even levels with the same mechanic could differ: one multi-robot level averaged 1.04 attempts and the other 4.04. For a designer, that spread is a reason to test specific setups rather than assume every puzzle with multiple robots poses the same problem.
Participants generally described the model as a translator and said they revisited their own instructions or plans when a move surprised them. In the post-study questionnaire, 66.7% described the model as a translation intermediary. When asked about unexpected robot behavior, 58.3% reported checking their own instruction logic and 33.3% reported reconsidering the intended path. The authors take those responses as support for a loop in which players write a rule, watch it run, and revise it. They propose showing the translated rule, when it triggers, and how priority works, because a predictable simulation can still leave players unsure which part of their plan to revisit.
Applying this to your game
A team building a grid puzzle can put the handoff at a readable rule the player accepts before a run. In a hypothetical warehouse puzzle, a player asks Loader to move east every three turns, provided the tile to its east is empty. If the game supports both a clock that starts with the level and one that starts when a rule is enabled, the editor can ask which clock the player means when the wording leaves it open. If the game has only one clock, the preview can name it. Either way, the player can check the timing without having to infer it from where Loader ends up.
During the run, the engine can explain a move that didn’t happen by reporting the decision it actually made. Suppose the player chose the level clock and added a higher-priority rule that tells Loader to wait while Scout occupies a crossing. On turn six, the tile to the east is empty and the move rule is due, but Scout is still on the crossing. The engine can record that both conditions were met and that the wait rule took priority. Because that record comes from the same decision that kept Loader in place, the player can investigate the timing or priority instead of rewriting a sentence the model already understood.

A revision is easier to assess when the editor keeps the previous rule available for comparison. The team can keep the player’s wording beside the accepted rule and show which fields a proposed revision changes. If the player rewrites the sentence and the proposed rule switches clocks when they only meant to change direction, they can spot the extra change before it reaches the simulation. If the engine rejects the revision, the editor can show why and make clear that the previous rule is still active, so the next run doesn’t look like a test of the rejected edit.
A useful test is whether players can identify what to edit after a surprise without losing the pace of experimentation. A team could give players the same priority puzzle with and without an expandable engine record, then ask them to predict Loader’s next move and explain what they would change after a failed run. If more players identify the conflict and choose whether to change the timing or the priority, the record is helping them diagnose the outcome. The team can weigh that against how long players spend reading it and whether they hesitate to try another rule. The authors’ questionnaire gives a reason to watch for that tension: some participants expected less freedom if free input went away, while others expected less mental effort.
Sources
- IF:CARGO: LLM-Based Semantic Compilation for Al-Native Rule Programming Games
paper · Ting-Chen Hsu, Lianye Zhang, Jiangxu Lin et al., 2026; full text read via PDF text on 2026-12-04 · Source accessed: