Tool experiment

We tried building a rocket game with local AI

On one Windows laptop, we tried Godot and Python with Panda3D for a small rocket game. The clearest lessons came from testing the controls and watching where the coding agents got stuck.

Tested Runs locallyOpen-weight model

Freshness

Published
November 24, 2026
Substantive revision
None yet
Last actually tested
November 14, 2026
Status
Tested: Actually run on the date shown.

Tested on: hardware: Windows laptop with an RTX 4060 Laptop GPU (8 GB VRAM); models: Apex 35B with OpenCode and Qwen3.8-27B with Pi in the initial attempts, then Gemma and K2 with Pi or Kilo in later Python attempts. Quantization, builds and how the larger models fit on an 8 GB GPU (for example CPU offloading) were not recorded. The repairs that made each version playable were done by a hosted coding assistant (Codex).; software: WSL 2, Godot 4.7.2, Panda3D 1.10.16 with panda3d-gltf 1.3.0;

A link check or an AI rewrite never changes "last actually tested".

At a glance

Starting skill
Comfortable with code
Time
Not yet known
Cost
Not yet known
Equipment
Windows laptop with an NVIDIA RTX 4060 Laptop GPU (8 GB VRAM), WSL 2
Interests
Games, Local models, Learning

Where your data goes

Does data leave your device?
Yes
External services used (including during setup)
Hugging Face (model downloads), software and dependency downloads, web lookup for Panda3D documentation during recovery, a hosted coding assistant (Codex) saw the project code and logs while repairing both versions; its plan and cost were not recorded
Offline run verified?
No. Do not assume it works offline.

Licenses: code: Game prototype is private and has no distribution license; model weights: Each model keeps its own license; exact revisions were not recorded; content: CC BY 4.0 (this post).

Press Enter to start the countdown. Hold Space to lift the rocket. Let go and it coasts. Press R to try again. Those four actions gave us a concrete way to find out whether a local AI coding agent had helped us make something we could play.

We started with a 3D spaceport and rocket, then tried to turn the scene into a short game about managing thrust, fuel, and heat. We used Godot first, then tried a separate Python version with Panda3D, a 3D game engine with a Python interface. Both versions started with the same 3D assets. The local models helped write code, but the repairs that made each version playable were done by a hosted coding assistant (Codex). The launch controls, fuel, and physics ran as ordinary game code.

A few terms: a coding agent is a program that lets an AI model read files, edit them and run commands in a loop, and a tool call is one of those actions. Godot is a free game engine; OpenCode, Pi and Kilo are coding agents.

What happened in the two versions

VersionWhat the local coding agent didWhat we later verified
Godot with Apex 35B and OpenCodeThe run lasted nearly eight hours before we stopped it. The audit counted 916 tool calls across the main agent and its helpers. One helper wrote the same final contents to a test file 60 times. The scene check was still failing.After a separate repair by Codex, a test loaded the game scene and sent keyboard events through Godot. Enter started the countdown, Space moved the visible rocket and consumed fuel, releasing Space stopped the burn, and R reset the game.
Python and Panda3D, starting with Qwen3.8-27B and PiThe first task was just the launch rules in plain Python. Four of twelve tests failed. A safety check that an AI assistant (Codex) had added to the coding tool also incorrectly blocked valid batches of edits.A separate diagnosis corrected the test expectations and passed all twelve tests with the original controller code. Later, after more agent attempts and a repair by Codex, a Panda3D integration test drove the countdown, thrust, coasting, camera and reset through actual engine events and frames.

These runs changed the model, the coding agent, the engine and the size of the assignment. They tell us where these particular attempts got stuck. Ranking the models or engines would take matched tasks and repeat runs. The last checks covered the basic launch and reset. The Python follow-up still had open tests for overheating, losing keyboard focus, and the full success path.

What the models got wrong and what the tools made worse

In the Godot run, the agent produced an invalid attachment between a scene and a script. It also kept asking to rewrite a file after the contents had stopped changing. The coding setup allowed those writes to go through and allowed helper sessions despite our request to work in one session. A guard that stopped repeated errors could still miss repeated calls that reported success.

In the Python run, Qwen wrote incorrect test expectations for the countdown and flight math. Meanwhile, the safety check Codex had added treated a batch of real edits as if it changed nothing. We reproduced that tool bug by replaying an original edit through Pi with no model running. Once the guard was fixed, the replay applied the changes. That helped separate a mistake in the generated tests from a mistake in the tool that was supposed to apply the fixes.

A later local model run (Gemma with Pi) first tried an edit based on source text it had made up, and Pi rejected it because the text did not match. Its next tool call ran for about 96 minutes and used the full 8,192-token output limit, and Pi discarded the incomplete edit. The logs do not show why generation was so slow, so we leave that cause open. The practical lesson is to put a time limit on any single step, because we waited a long time to learn that nothing had been applied.

The problems worth remembering

A game can load and still ignore the controls. In Godot, the useful check exercised the keyboard and engine physics. It watched the rocket move and reset. That gave us evidence that the scene, the input bindings, and the flight code were connected.

A failed test can be wrong. In the first Python run, four of the twelve generated tests had wrong expectations about how the game advances in small steps, where the countdown ends, or when the time limit triggers. Once the expectations were checked against the actual stepping rule and corrected, the same controller passed all twelve. We also found that the safety check was rejecting a valid form of edit, making the model look more stuck than it was.

Read the actual error before asking the agent to try again. In a later Panda3D attempt, the app tried to import a clock function that the installed package exposes as a class method. A shell filter removed the error line and made a failed launch look successful to the agent. Running the startup command directly exposed the problem. A later diagnosis found the key-release event had the wrong name: Panda3D calls the release of Space space-up. Both are small details with a big effect on whether a game starts or responds. Panda3D clock reference · Keyboard event reference

A smaller first game to try

Start with a single object and a single rule. For example, press Space to move a shape one step while spending one fuel point. Ask your coding agent to implement that rule and a check that proves it. Run the check yourself and then try the key in the game window. Add release, reset, and the other rules one at a time. A parent or child can choose what the object looks like or decide what counts as a successful round.

For a 3D game, start from a scene that already opens. Keep game rules separate enough to test quickly, then run a second check with the real controls and renderer. If the same error repeats and the files stop changing, pause and inspect the smallest failing step. Telling the agent to keep going gave us plenty of activity before it gave us evidence about the game.

Setup, cost and privacy

The recorded runs used an existing Windows laptop with an 8 GB RTX 4060 Laptop GPU and WSL 2. The coding models ran on the laptop, except for the Codex repairs, which ran on a hosted service that saw the project code and logs; the cost of that service was not recorded. Model and dependency setup needed downloads, and one recovery workflow looked up documentation on the web. The records provide no disconnected test or measured electricity cost. The long agent runs are elapsed machine time, distinct from time spent actively working on the project.