Fifteen games in a single illustrated street scene

Coding4Games

Hover over any game Tap any game

Leaderboard

Leaderboard

Mean normalized score15 games
Browse games
RankParticipantMean score
Loading leaderboard…

How the benchmark works

Read the paper
  1. Write the script

    The agent tries the game and writes Python code to choose actions.

  2. Submit & freeze

    The agent submits one program. That version is frozen for every test.

  3. Test independently

    The frozen program plays fresh trials on its own, with zero model calls.

0–100 per game → Mean across 15 games Scoring rules
Game result
Average the independent test scores for a frozen program. Earlier entries use their recorded result.
Scale each game
100 × (result − lowest) ÷ (highest − lowest). The range includes coding agents, GUI agents and the human reference.
Rank participants
Take the arithmetic mean of all 15 scaled scores, weighted equally. Incomplete coverage is unranked.

What we learned

  1. Astra’s scripts favor game state, while Sol’s favor timing.
    How final scripts choose actions
    Evaluated scripts (%)By model
    G0
    Fixed actions
    G1
    Timers or counters
    G2
    Simple observed cues
    G3
    Task-relevant game state
    G4
    State + memory, planning and recovery
    • GPT-6 Astra
    • GPT-5.6-Sol
    • GPT-5.6-Terra
    • Claude Opus 5.5
    • Claude Opus 5
    • Claude Sonnet 5
    • Gemini-3.8-Flash
    • Qwen3.8-Flash
    • Qwen3.8-27B
    • GLM-5.3-Flash
    • DeepSeek-V4.1-Flash
    • Kimi-K3

    GPT-6 Astra most often used task-relevant state (60% G3). GPT-5.6-Sol relied mainly on timing (63.6% G1). For Claude Opus 5 and Qwen3.8-Flash, half of the scripts reached G4.

  2. In Forza Horizon 5, the simpler controller scored higher.
    Forza Horizon 5 · Mean score in independent tests
    Claude Sonnet 5 · Local route follower645.7 points
    Qwen3.8-Flash · PID steering controller443.7 points

    Sonnet’s script steered toward the nearby route. Qwen used a feedback controller to correct its steering. Its log shows the car leaving the road and triggering recovery at the wrong time.

  3. Agents tested their fixes, yet many problems persisted.
    Did a change reach the problem, and did it fix it?

    GPT-5.6-Sol

    Revisions tested in the relevant situation100%
    Resolution score on tested problems41.7%

    Gemini-3.8-Flash

    Revisions tested in the relevant situation94.4%
    Resolution score on tested problems58.8%

    The first bar counts revisions whose next self-test reached the targeted situation. The second scores the problems that could be tested, with one point for a full fix, half for a partial fix and zero if the problem remained.

  4. Script execution took most of the game time in 10 of 12 example runs.
    Who supplied the game inputs?
    Game steps (%)1 development run per model
    • GPT-6 Astra
    • GPT-5.6-Sol
    • GPT-5.6-Terra
    • Claude Opus 5.5
    • Claude Opus 5
    • Claude Sonnet 5
    • Gemini-3.8-Flash
    • Qwen3.8-Flash
    • Qwen3.8-27B
    • GLM-5.3-Flash
    • DeepSeek-V4.1-Flash
    • Kimi-K3

    Sol ran its scripts for 98.5% of game steps. Only Gemini-3.8-Flash and Kimi-K3 spent more steps playing directly.

  5. Sol detected crashes in Riders Republic but kept tricks on a timer.

    The script watched for a red screen to trigger recovery. A separate counter chose when to perform each trick, so a crash could trigger a reset while the timing rule that preceded it stayed the same.

  6. Frozen scripts sometimes beat the same model playing through the GUI.
    Same model, two ways to play · 15 games

    GPT-5.6-Sol

    8 script wins · 7 GUI wins · 0 ties

    Claude Sonnet 5

    7 script wins · 6 GUI wins · 2 ties

    Each mark represents one game. We compared a frozen script running on its own with the same model choosing actions from the game screen. Both models’ scripts won on Balatro, Kingdom Rush 5 and The King of Fighters ’98.

  7. A larger development budget helped some games more than others.
    The highest-scoring version came early in some runs and last in others.
    Step limit 15,000Token limit 25M
    Claude Opus 5 GPT-5.6-Sol Independently tested script Final program
    Mean test scoreBoth axes 0–100 per curve

    Balatro

    Opus selected an early script that outscored every later version tested.

    Game steps used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program
    Tokens used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program

    Black Myth: Wukong

    Both models recovered from an early dip in test scores.

    Game steps used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program
    Tokens used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program

    Forza Horizon 5

    Opus selected its last tested script, while Sol’s highest score came earlier.

    Game steps used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program
    Tokens used (%)
    005050100100 Claude Opus 5 GPT-5.6-Sol Claude Opus 5 · Final program GPT-5.6-Sol · Final program