From Watching to Playing: Auto-Playing Video Games with a Self-Constructed Code World Model

Impact 7 arXiv cs.AI

Summary

  • Researchers introduced PlaySmith, an agent harness that compiles visual gameplay from 2D browser games into a reusable code world model.
  • PlaySmith uses a visual Observer, action-conditioned displacement for motion tracking, and a stateful Predictor to separate player actions from autonomous physics.
  • Across eight 2D browser games, PlaySmith achieved competitive scores while using zero VLM tokens during evaluation and reducing mean per-step latency from 4.526 to 0.293 seconds.

Why it matters

Compiling visual gameplay knowledge into code-based world models significantly reduces inference latency and token costs compared to direct VLM game-playing agents.

Who should care