GameReplica: A Benchmark for Black-Box Visual Game Replication by Vision-Language Agents
Boyu Qiao, Zixin Tang, Kaige Li, Xiaoshuai Hao, Dongyu She, Xiaochun Cao
Abstract
Benchmarks for coding agents typically assess implementation from explicit specifications, leaving open whether agents can discover and reproduce systems whose rules are undocumented and accessible only through interaction. We study this capability in web games, which offer controlled environments with observable actions and outcomes, and introduce GameReplica, a benchmark for end-to-end black-box game replication. It comprises 125 instances spanning 25 web games and five core mechanism families, with each game instantiated at five difficulty levels. Under container isolation, an agent accesses the target game only through an action--screenshot interface, may iterate between probing the game, implementing a replica, and checking it, and delivers a self-contained runnable replica together with a rule checklist. A reference-grounded evaluation then scores the deliverables separately on rule consistency, implementation consistency, and visual fidelity. Experiments across six models and five agent runtimes show that black-box replication remains challenging: Claude Opus 4.8 achieves the highest Overall score, 71.6%, while the other models obtain 4.0%--43.0%. Every model scores highest on visual fidelity and lowest on rule consistency, suggesting that reproducing appearance is easier than recovering mechanics. Difficulty widens the gap: from L1 to L5, the four lower-scoring models show relative Overall score declines of 33%--63%, whereas the strongest model declines by less than 5%. In the evaluated configurations, outcomes vary more across models than across agent runtimes, and most attributed failures of weaker models arise during exploration, before replica code is written. Resources and interactive demonstrations are available at https://qqqqqqby.github.io/GameReplica/.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
VisualMontage: Manipulating the Beliefs of Vision-Language Agents with Authentic Image Sequences
Shared title terminologycs.CVJinwei Hu, Lai Wei, Zhuoyun Li et al.
Visual Input and Its Framing Affect Undermine the Stability of Attribute-based Descriptions Produced by Large Vision-Language Models
Shared title terminologycs.CVXiaomeng Wang, Martha Larson, Ping Mei Vogels et al.
SceneBench: A Hierarchical Benchmark for Vision-Language Understanding of 3D Scenes
Shared title terminologycs.CVAnubhav Khanal, Prabigya Acharya, Roshni Poudel et al.
Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models
Shared title terminologycs.CVDezhi Luo, Fengyuan Yu, Haotian Zhang et al.
Find the Clue, Not the Scene: Rethinking Reasoning for Entity Recognition in Vision-Language Models
Shared title terminologycs.CVKyungmin Min, Soyeon Kim, Junseok Kim et al.
Attacking Hard-Label Large Vision-Language Models with Model-Sensitive Adversarial Patch Designs
Shared title terminologycs.CVNian Ai, Guangke Chen, Xiaowen Cai et al.