Can Vision-Language Models Synthesize Executable Game-Playing Programs?
On the map: LLM reasoning → Spatial and embodied reasoning also fits: Reasoning for agents, planning and code
Abstract (arXiv)
Recent advances in vision-language models (VLMs) have endowed multimodal agents with increasingly strong visual perception and long-horizon reasoning capabilities, making VLM-based autonomous game playing feasible. Existing game benchmarks primarily evaluate whether an agent can select appropriate actions from the current visual state across different scenarios and games. However, most of them adopt a step-by-step interaction paradigm where the current visual observation is sent to the agent before each action. In practical deployment, this paradigm introduces two fundamental limitations: the game loop must wait for model inference, making real-time interaction impractical, and repeated VLM calls incur substantial cost. Therefore, we propose PlayScriptBench, a script-based game benchmark that evaluates whether VLMs can synthesize an executable game-playing program from game states. This setting jointly evaluates visual grounding, understanding of game dynamics, long-horizon strategic reasoning, and executable program synthesis, providing a more comprehensive assessment of game-playing agents. To support more tractable evaluation for current general-purpose VLMs, we further introduce a four-stage pipeline --- Explore, Perception, API Construction, and Strategy Composition --- that decomposes controller synthesis into game exploration, state perception, interface construction, and strategic control, enabling agents to progressively construct an executable program. Experiments on 16 games spanning 4 genres show that even strong VLMs struggle on our benchmark, revealing a substantial gap between passive visual game understanding and executable closed-loop game control. These results establish script-based controller synthesis as a complementary direction for benchmarking VLM-based game-playing agents.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 25 of its 36 references that are in the map. Submitted 20 Nov 2026, announced 23 Nov 2026.
Builds on
25 of 36 references.
References · 25
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,368
- 2025OpenAI GPT-5 System Cardcited by 1,090
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
- 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 644
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 635
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 579
- 2025GLM-4.5V and GLM-4.1V-Thinking: Towards Versatile Multimodal Reasoning with Scalable Reinforcement Learningcited by 554
- 2022MineDojo: Building Open-Ended Embodied Agents with Internet-Scale Knowledgecited by 503
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 365
- 2018TextWorld: A Learning Environment for Text-based Gamescited by 331
13 more
- 2023JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Modelscited by 192
- 2024Cradle: Empowering Foundation Agents Towards General Computer Controlcited by 146
- 2023STEVE-1: A Generative Model for Text-to-Behavior in Minecraftcited by 111
- 2025lmgame-Bench: How Good are LLMs at Playing Games?cited by 69
- 2025VideoGameBench: Can Vision-Language Models complete popular video games?cited by 58
- 2026GameWorld: Towards Standardized and Verifiable Evaluation of Multimodal Game Agentscited by 52
- 2023Modular Visual Question Answering via Code Generationcited by 51
- 2025Orak: A Foundational Benchmark for Training and Evaluating LLM Agents on Diverse Video Gamescited by 43
- 2025Code World Models for General Game Playingcited by 32
- 2026PlayCoder: Making LLM-Generated GUI Code Playablecited by 15
- 2026ERNIE 5.0 Technical Reportcited by 14
- 2026GameplayQA: A Benchmarking Framework for Decision-Dense POV-Synced Multi-Video Understanding of 3D Virtual Agentscited by 6
- 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenascited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026GameReplica: A Benchmark for Black-Box Visual Game Replication by Vision-Language Agents
- 2025VS-Bench: Evaluating VLMs for Strategic Abilities in Multi-Agent Environments
- 2026Game2Real-Bench: Do Toy Games Reveal and Transfer to Real-World Visual Reasoning?
- 2026OmniGameArena: A Unified UE5 Benchmark for VLM Game Agents with Improvement Dynamics
- 2025Cultivating Game Sense for Yourself: Making VLMs Gaming Experts
- 2026AtariBench: Evaluating Spatiotemporal Reasoning of Vision-Language Models in Atari Gameplay
- 2026From Game Generation to Game Playing: Fully Automated Ability Training for Vision-Language-Action Models
- 2024ING-VP: MLLMs cannot Play Easy Vision-based Games Yet