Skip to content

Opus 5.5 vs GPT-6.1 Sol: The Door Problem in Godot

2 min readBuild log ·

Can an AI agent build doors that work the way doors work in a well-made game? Claude Opus 5.5 in Claude Code and GPT-6.1 Sol in Codex got the same prompt and the same reference picture: four doors in a small first-person house in Godot (a hinged door you open from either side, a locked door and its key, a door that closes itself, and a front door), solid while they swing, a crate you can push into a doorway, and a guard who walks a loop through the house opening the doors in his way. Both worked directly in the Flockbay app, on the Godot engine, pressed Play themselves, and decided when they were done.

AppImage, x86_64. Ubuntu 22.04, Debian 12, Fedora 39 or newer.

Intel or AMD Chromebook, with Linux turned on.

Download for macOSDownload for WindowsDownload for Linux

The test

Then the same first-person driver played both houses on each game's own controls: from both sides of every door, standing in a doorway, pushing the crate, trying the lock, running into a door as it opens, and getting in the guard's way.

More on this: Opus 5.5 vs GPT-6.1 Sol: Can AI Build a Save System?

The prompt

The exact prompt both models got:

More on this: 4 AI Models Build the Same Walking 3D Character in Godot

Build the doors of a small first-person game in Godot, and make them work the way doors work in a well-made game. The player walks around a small two-room house with a hallway, using W A S D and the mouse, and presses E to open or close the door they are looking at. Build four doors. A hinged wooden door between the hallway and the first room, which the player can open from either side. A locked door to the second room, which tells the player it is locked until they pick up the key lying in the hallway. A door that closes by itself a few seconds after it is opened. And a front door to the outside. Doors swing open over time rather than snapping, and they are solid: they must not pass through the player, the walls, or a wooden crate the player can push into a doorway, and a door closing on the player must never trap them or push them through a wall. A guard walks a loop through the house on his own, opening the doors in his way and closing them behind him, and he must never get stuck at a door. Give each door the sounds of opening, closing and being locked. Make it look like the reference picture. Build every model yourself from code or primitives; don't download or generate 3D models. The doors are the point: keep the house small and spend your effort on them. Playtest it yourself and hand it over when you think it's done.

What was judged

The doors themselves: the swing (direction, speed, easing), the solidity, the blocking, the lock, the self-closing door, the sounds.

The guard at the doors: does his loop survive them.

How close it looks to the reference.

What it cost: tokens, calls, time, and the estimated API bill.

More on this: Opus 5.5 vs GPT-6.1 Sol in Blender: One Cost 7x More

In the video

  1. 0:00 Opus won two, Sol won one
  2. 0:32 Doors this time
  3. 1:13 The job
  4. 1:38 The models and the rules
  5. 2:18 Who plays
  6. 2:30 The reference
  7. 2:43 What a good door does
  8. 3:32 What we are testing
  9. 4:01 GPT-6.1 Sol
  10. 4:55 Walking into a door
  11. 5:17 The guard and the crate
  12. 5:45 The master key
  13. 6:15 Opus 5.5
  14. 7:36 Side by side
  15. 7:47 Neither is a physics door
  16. 8:01 One rule
  17. 9:10 The bill
  18. 9:24 Who takes it

More on this: Can AI Solve Godot's Stairs Problem?

It ran in Claude Code, on Flockbay’s MCP server

Claude Opus 5.5 ran in Claude Code for 41 minutes on the prompt above, with Flockbay’s tools connected over MCP: 41 calls to Flockbay’s tools and 52 to Claude Code’s own. Every call, from the run’s transcript:

ToolCalls
Bash26
Edit11
flockbay_game_set11
Write10
flockbay_game_input7
flockbay_game_screenshot7
flockbay_play5
Read5
flockbay_game_get4
flockbay_run_headless2
flockbay_script_errors2
flockbay_godot_status1
flockbay_set_project_settings1
flockbay_stop1

Godot’s output caught the first bug

The first check that failed was a headless Godot run Claude Code started from Bash. The lines it returned that name the problem:

Output
FAIL  A stops against a crate in its swing   [angle = 57.6]
FAIL  no leaf ever overlapped a person, the crate or a wall   [door C at -84.8 deg overlapped Guard]

The next edit went to res://game/door.gd

The next edit Claude Code made after that check, through Bash:

Terminal
sed -i 's/^var _body: AnimatableBody3D$/var _body: StaticBody3D/; s/	_body = AnimatableBody3D.new()/	_body = StaticBody3D.new()/; /	_body.sync_to_physics = false/d' game/door.gd

res://game/door.gd as it was handed over

Lines 50 to 82 of 628, from the game folder at the end of the build.

GDScript
var open_count := 0
var close_count := 0

var _leaf_w := 0.0
var _leaf_h := 0.0
var _leaf_t := 0.05
var _hinge_pos := Vector3.ZERO
var _test_xf := Transform3D.IDENTITY
var _body: StaticBody3D
var _visual: Node3D
var _query: PhysicsShapeQueryParameters3D
var _zone: Area3D
var _creak: AudioStreamPlayer3D
var _fx: AudioStreamPlayer3D
var _creak_tween: Tween
var _levers: Array[Node3D] = []
var _padlock: Node3D
var _closer_arm: MeshInstance3D
var _closer_anchor := Vector3.ZERO
var _closing_auto := false
var _open_timer := 0.0
var _rattle_cooldown := 0.0

## In a session the host swings the door and sends its angle; guests ease
## their leaf toward it. target and locked travel too, for the prompt.
var net_angle := 0.0
var _net_moving := false


func _ready() -> void:
	_leaf_t = 0.06 if heavy else 0.05
	_leaf_w = opening_width - HINGE_INSET - 0.01 - 0.03
	_leaf_h = opening_height - 0.045

The results, measured

Opus 5.5 (Claude Code)GPT-6.1 Sol (Codex, high)
Run41.1 min, 5 Plays, 67 model calls, 96 tool calls20.6 min, 2 Plays, 23 model calls, 59 tool calls
Output tokens158,884 (82,964 thinking)35,848 (5,497 reasoning)
Cached tokens read11.1 million1.3 million
On API pricesabout 7.23 dollarsabout 0.63 dollars
Rate per million tokens4 in, 20 out2 in, 10 out
Code handed over2,546 lines of GDScript in 9 files, and a 409-line test scene923 lines in 6 files, and a 145-line test scene
Its own test45 checks, run headless; a 150 s guard patrol and a 3 min random stress test with the player in the way46 checks; the guard is switched off and the player moved out of the house for every door check

Costs are estimates at public API prices, read on the day. Both runs went through a subscription.

From the filmed games

Opus 5.5's house at dusk: the player stands in the open back doorway, prompted to close the back door.
Opus 5.5's house at dusk: the player stands in the open back doorway, prompted to close the back door.
Opus 5.5's guard walks down a timber-beamed hallway toward the player.
Opus 5.5's guard walks down a timber-beamed hallway toward the player.
GPT-6.1 Sol's Hinge House: a hallway leading to a window, with a desk, a lamp and a potted plant.
GPT-6.1 Sol's Hinge House: a hallway leading to a window, with a desk, a lamp and a potted plant.
GPT-6.1 Sol's Hinge House: the player face to face with the hall door, prompted to close it.
GPT-6.1 Sol's Hinge House: the player face to face with the hall door, prompted to close it.

Built in Flockbay, a free AI game maker built on Godot.

Download Flockbay free

AppImage, x86_64. Ubuntu 22.04, Debian 12, Fedora 39 or newer.

Intel or AMD Chromebook, with Linux turned on.

Download for macOSDownload for WindowsDownload for Linux

Flockbay

The free AI game maker for Windows, macOS and Linux.