Coding4Games: Can Modern Coding Agents Play Modern Video Games?

Shifang Zhao, Haoyu Wang, Yuyang Yin, Dong Chen, Xingyilang Yin, Yunkang Tao, Honghao Chen, Guangzhi Wang and 5 others

Tencent ARC Lab · Great Bay University · Beijing Jiaotong University · Nanjing University

Published November 24, 2026 · on the feed November 25, 2026 · ▲ 15 · arXiv 2611.31974

Code & softwareAgents3D, worlds & games Full code arXiv ↗Hugging Face ↗

The abstract

Games, especially modern AAA games, challenge language models to perceive complex scenes, control actions, and make decisions over long horizons. Existing game benchmarks primarily test language models as computer-use agents that query a language model throughout play, incurring repeated inference cost and, in real-time games, acting while the environment continues to evolve. We ask whether coding agents can learn from game interaction to develop standalone game-playing programs that run without language model inference. We thus introduce Coding4Games, a benchmark for evaluating whether coding agents can develop standalone programs that play modern games through visual observations and standard game inputs. Coding4Games has three defining features: 1) Diverse Modern Games, covering 15 games with diverse visual, strategic, and control demands; 2) Development-Test Separation, in which a coding agent uses a sandbox and the standard player interface to iteratively develop a program, after which the selected program is frozen and independently tested without language-model inference; and 3) Outcome and Process Evaluation, which measures not only game performance and reliability but also how agents use feedback, revise programs, and resolve problems during development. Across 15 games, the best program per game outscores the strongest GUI baseline on 13 and ties it on one. The human player outscores all agents on 10 games. We additionally examine the effects of development budgets. Coding4Games evaluates whether coding agents can turn their understanding of complex interactive environments into programs that work reliably on their own.

The Brief

2:42

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Coding4Games. Can Modern Coding Agents Play Modern Video Games?. By Shifang Zhao and twelve others, from Tencent ARC Lab, Great Bay University, and two other institutions. Published on the twenty-fourth of November.

Games, and modern AAA games especially, ask a lot of a language model. It has to perceive complex scenes, control actions, and make decisions over long horizons. Existing game benchmarks mostly test models as computer-use agents, querying a language model all the way through play. That approach has two costs. Every step of play means another inference call, so the expense repeats for as long as the game runs. And in a real-time game, the model is deciding while the environment continues to evolve around it, so the world has moved on by the time the action lands. The authors ask a different question. Can a coding agent learn from interacting with a game, and use what it learns to develop a standalone program that plays it, one that runs with no language model inference at all? The model would do its thinking up front, during development, and then step aside.

Coding4Games is built to answer exactly that. It evaluates whether coding agents can develop standalone programs that play modern games from visual observations, using standard game inputs. The measurement has two sides. One is outcome: how well the program plays, and how reliably. The other is process: how the agent uses feedback during development, how it revises its programs, and how it resolves the problems it runs into.

Three features define the benchmark. First, diversity: fifteen modern games with varied visual, strategic and control demands. Second, a strict separation between development and testing. During development, the coding agent works in a sandbox through the standard player interface and iterates on its program. Then the selected program is frozen and tested independently, with no language-model inference involved. That separation is what keeps the test honest: whatever the agent learned has to live inside the program, because the agent is no longer there to help. Third, the evaluation covers both outcome and process, so a run is judged on the program it leaves behind and on how that program was arrived at.

The headline comparison is against agents that play through the graphical interface directly. Across the fifteen games, the best program for each game outscores the strongest GUI baseline on thirteen of them, and ties it on one more. Humans remain ahead, though. A human player outscores all of the agents on ten of the games. Beyond those results, the authors also examine the effects of the development budget, the amount of effort an agent is given to build its program.

The benchmark moves the language model out of the play loop and into the workshop. An agent's understanding of a game counts only if it can be turned into a program that works reliably on its own. On most of these games, such a program already beats an agent driving the interface live, while on most of them it still trails a human.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.