Coding4Games: Can Modern Coding Agents Play Modern Video Games?
Organizations: Tencent ARC Lab · GVC Lab · Beijing Jiaotong University · Nanjing University
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.
Figures & tables
| Benchmark | Target | Setting | Exec. | Vis. | Actions | Mode | Reset | Test | |
| BALROG ( Paglieri et al., 2025 ) | Online play | Text / grid | 6 | LM | ✓ | Semantic | Stepped | ✓ | ✗ |
| VideoGameBench ( Zhang et al., 2025 ) | Online play | Retro | 10 | LM | ✓ | GUI | Both | NR | ✗ |
| Orak ( Park et al., 2026 ) | Online play | Mixed | 12 | LM | ✓ | Game API | NR | ✓ | ✗ |
| GameVerse ( Zhang et al., 2026b ) | Video reflection | Mixed | 15 | LM | ✓ | GUI / Sem. | Subset | NR | ✗ |
| GameWorld ( Ouyang et al., 2026 ) | Online play | Web | 34 | LM | ✓ | GUI / Sem. | Both | ✓ | ✗ |
| CodeClash ( Yang et al., 2026 ) | Code evolution | Arenas | 6 | Program | ✗ | Program API | N/A | ✓ | ✗ |
| Category | Games |
| Combat & Action Timing | Black Myth: Wukong (BMW); Sekiro: Shadows Die Twice (SEK); The King of Fighters ’98 (KOF98) |
| Strategy & Resource Planning | Balatro (BAL); Slay the Spire (StS); Kingdom Rush 5: Alliance (KR5) |
| 3D Sports & Precision Control | Forza Horizon 5 (FH5); Riders Republic (RR); NBA 2K25 (NBA25) |
| Movement & Timing | TrackMania Nations Forever (TM); Brotato (BRO); BattleBlock Theater (BBT) |
| Multi-step Task Execution | Overcooked! 2 (OC2); Aimlab (AIM); Palworld (PAL) |
Game-Playing Agents
Game-playing agents use search, learning, and reasoning to choose actions in games with strategic, uncertain, or changing environments.
See all 234 papers