Coding4Games: Can Modern Coding Agents Play Modern Video Games?

Shifang Zhao, Haoyu Wang, Yuyang Yin, Dong Chen, Xingyilang Yin +8 more
11/24/2026
cs.AI

No official code found. Best implementation: GVCLab/Coding4Games (17 stars).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Coding4Games: Can Modern Coding Agents Play Modern Video Games?

170

Similar Papers

Cite this paper

@article{zhao2026codinggames,
  title  = {Coding4Games: Can Modern Coding Agents Play Modern Video Games?},
  author = {Shifang Zhao and Haoyu Wang and Yuyang Yin and Dong Chen and Xingyilang Yin and Yunkang Tao and Honghao Chen and Guangzhi Wang and Yiran Wang and Junfu Pu and Cheng Cheng and Xiaodong Cun and Ying Shan},
  year   = {2026},
  eprint = {2611.31974},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.31974v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.31974.svg)](https://codeofpaper.com/paper/2611.31974)

Discussion