Researchers asked AI agents to build programs that play modern video games, then tested those programs with no language model in the loop.
The AI’s job was to leave behind something that could keep acting without it. That changes what success means: the program has to work after the coding agent stops inspecting screenshots, suggesting fixes and choosing the next action.
Shifang Zhao and colleagues tested this in Coding4Games, covering 15 games including Black Myth: Wukong, Forza Horizon 5 and Slay the Spire.
During development, agents could inspect the screen, try controls, write code and test revisions. They could not edit the game’s implementation or its scoring system. Once development ended, the selected program was frozen and tested separately, using visual observations and ordinary game controls, without further language-model calls.
Across the suite, the best program for each game outscored the strongest direct-control AI baseline on 13 games and tied it on one. Those winners came from different coding agents. Comparing programs with direct play by the same model produced mixed results.
The important distinction is between using AI to make each decision and using AI to build the machinery that makes those decisions. The second approach produces an artifact that can be inspected, rerun and tested independently.
It also exposes a harder problem. Agents could identify failures during development, yet their code revisions often failed to repair them. More feedback did not automatically become better behavior.
This November 24 preprint tests specific game scenarios, with three test episodes per method and game. It does not establish general game mastery or a universal advantage for programs.
The useful question is which parts of an agent’s work can become reliable executable behavior, and what evidence shows that behavior still works once the model steps away.
来源:Tugrul Guner · x.com