Das Thumbnail zum Rennspiel Spree Rush 1, das von mir mit KI (ChatGPT) erstellt wurde.

Developing a 3D racing game with ChatGPT: What I learned after five versions

My experience building Spree Rush 1 with ChatGPT: five versions, prompts, bugs, tests and lessons from an AI-assisted browser game.

On July 26, 2026, I wanted to test how far ChatGPT could help me develop my own browser game. My starting idea was a three-dimensional racing game set in Berlin that would launch directly in the browser without registration, could be embedded on my website and might later become an app.

A few hours later, “Spree Rush 1” was indeed a reasonably playable prototype, although it still had several bugs. It had a 3D track, three difficulty levels, Berlin landmarks, multiple vehicles, engine sounds, checkpoints and different road surfaces. By the fifth version, however, there was also a long list of misunderstandings, superficial changes, technical errors and overly optimistic success reports.

These problems are precisely what makes the experiment interesting. It shows not only what ChatGPT can do in game development, but also why a working build is far from a good game and why precise tests matter more than a long feature list.

How many tokens did development consume?

Not enough to exhaust all the limits of my Plus plan, but about 50% had already gone. The visible conversation alone was probably in the high five-figure to low six-figure token range. Including repeated processing of the conversation context, source code, test results, error messages and internal tool outputs over numerous steps, a cumulative total of several hundred thousand to possibly more than a million processed text tokens is plausible.

This estimate is not an API billing figure. Image generation, browser automation, builds and computing time cannot meaningfully be converted into the same token count either.

The high usage did not come mainly from my actual prompts. The costly parts were the many complete rebuilds, repeated code analyses, browser runs, screenshots, image generations and bug fixes. Each iteration also had to take a growing project context into account.

My first prompt

My initial prompt was approximately:

I want to develop a 3D racing game set in Berlin. Use well-known places and images or Street View as references. The game should initially work in a browser, but might later become an app. It should require no login, have three difficulty levels and be immediately playable. One track is enough for now. Develop a concept, a good title, an appealing design and a file I can embed on my website.

The prompt already contained several useful product decisions:

  • the browser as the first target platform
  • no user accounts
  • just one track
  • three difficulty levels
  • Berlin as a clearly defined game world
  • an embeddable file as the deliverable
  • a later app as a possible extension

At the same time, central questions remained unanswered. I had not specified whether the game should look realistic, stylized or deliberately arcade-like. There were no target devices, maximum file size, minimum frame rate or precise definition of the driving feel. “Immediately playable” could also mean either “without a login” or “without a menu beforehand.”

ChatGPT had to fill in these gaps itself. That quickly produced a feature-rich prototype, but also design decisions that did not match what I later had in mind.

The division of roles in the experiment

During development, I acted less as a programmer than as a creative director, product owner and manual tester.

My tasksChatGPT/Codex’s tasks
define the basic idea and target platformchoose the technical architecture
describe the style and intended effectwrite Three.js and UI code
actually play each versioncreate builds and package files
spot visual errorswrite automated browser tests
prioritize requirementsgenerate image assets and textures
provide reference imagesdiagnose causes of errors in the code
specify what should remain unchangedcheck desktop and mobile views
decide whether a change feels goodprovide source code and single-file exports

This division generally worked well. ChatGPT could perform far more technical work in a short time than I could have managed as a nonexpert. My most important task, however, was to judge the results by playing, rather than relying only on descriptions of the changes.

Version 1: Quickly playable, but heavily stylized

The first version was called “Spree Rush: Berlin.” It was built as a fully procedural Three.js game in a single HTML file.

The Berlin world did not consist of real 3D models or copied Street View images. Instead, the code generated roads, buildings, lights and simplified landmarks from Three.js geometry. Street View and other images served only as visual references.

The first build already contained a surprising number of features:

  • a stylized 3D night race
  • eight checkpoints
  • three difficulty settings
  • different time limits
  • AI traffic
  • nitro and drifting
  • local best times
  • Berlin landmarks
  • keyboard and touch controls
  • pause and restart
  • synthetically generated sounds
  • a responsive desktop and mobile view

An automated Chromium test checked the start, controls, checkpoints, pause and mobile display. Technically, it was an impressive first prototype.

Visually, however, the result was still far from a modern Berlin racing game. Buildings looked like simple blocks, vehicles like primitive geometry and landmarks more like symbols than real places.

The first important lesson was therefore:

AI can generate a complete game system very quickly. The number of features says little about visual quality.

Version 2: Asking for more realism without a realistic foundation

My next prompt asked for a more modern and realistic game. I wanted day and night modes, clearly recognizable Berlin landmarks, better engine sounds, more city atmosphere and the new title “Spree Rush 1.”

ChatGPT then expanded the existing version. It added a selectable daytime mode, more landmarks, a revised presentation and extra environmental details.

The result felt more extensive, but not fundamentally more realistic. The reason was not a shortage of adjectives in the prompt, but the technical foundation: a city made of simple boxes does not become photorealistic just because lighting, colors and the number of landmarks change.

This exposed a typical problem in AI-assisted development. The model initially responded to “more realistic” with changes that were easy to implement within the existing system. It improved the surface, even though my expectation actually required replacing the visual foundation.

Version 3: Many new features, but too little perceptible change

My next prompt was considerably more extensive. Among other things, I requested:

  • a more convincing V8 gasoline-engine sound
  • more photorealistic vehicles and environments
  • a considerably longer track
  • more turns and bridges
  • three laps
  • daylight only
  • bounce-back and speed loss on collisions
  • no random obstacles on the road
  • three different vehicles
  • a horn
  • a tongue-in-cheek “Berlin button” for throwing trash out of the window
  • a new menu
  • a clearer Berlin identity

ChatGPT extended the route from approximately 499 to 1,508 internal track units. The race now had three laps and a total of 24 checkpoints. Three vehicles were selectable, the horn and throwing mechanic were added, road barriers gained bounce-back, and the world received AI-generated textures and photographic layers.

The delivered version passed its technical tests. The new features really were present in the code. Nevertheless, after playing it I reported:

Your changes do not seem to have been incorporated. The game still plays like the previous version.

This feedback was correct. A screenshot of the delivered file showed that it was mainly the menu that was new. The actual game world still largely consisted of the same blocky Three.js scene. The longer track technically existed, but the camera, driving feel, road appearance and buildings had not changed deeply enough.

This was the most important turning point of the entire experiment.

ChatGPT had equated a successful feature test with a successful redesign. The claim that the “big new version” was finished went too far. A test could confirm that three cars were selectable and that the finish appeared after 24 checkpoints. It could not automatically confirm that the game felt substantially better to a human.

Version 4: From feature testing to real root-cause analysis

Following my criticism, ChatGPT for the first time specifically checked the delivered single file, rather than just the development state or internal test functions.

It distinguished between:

  1. a function that exists in the code,
  2. a function that is accessible in normal play,
  3. a change the player actually notices.

Version 4 therefore revised deeper systems:

  • variable road widths
  • narrow neighborhood streets and broad main roads
  • separate bridge sections
  • a speed-dependent steering model
  • new grip and braking calculations
  • gear and engine-speed logic
  • a lower chase camera
  • a visible track map
  • new Berlin facade textures
  • a dedicated build identifier
  • test functions for collisions, checkpoints and driving behavior

This overhaul was not straightforward either. The first test stalled on a temporary Chromium installation. An older test script got stuck in a collision wait condition. On the test system’s software GPU, 0.85 seconds of real time sometimes advanced the game simulation by only about 0.15 seconds, making acceleration and steering seem extremely sluggish.

Further checks found an off-by-one error in the automated three-lap verification. The road was also partly invisible because of reversed face orientation. What looked like green ground in the screenshot was not merely a poor texture, but a rendering error.

Another bug affected the vehicle: a photorealistic rear image sat over the old blocky 3D chassis. From the intended camera perspective it initially looked acceptable, but other angles immediately revealed the construction.

These errors were fixed. The new file also received its own name and a visible build label. That made it possible to rule out the browser loading an old cached version again.

The lesson:

Version numbers are not just organizational details. In browser games, unique filenames, build IDs and cache parameters are part of quality assurance.

Version 5: Reference images make feedback more measurable

For version 5, I supplied several Berlin photos along with the file Problem.png. It clearly showed the red car floating above the road.

This time my prompt included not only new requests, but also clear rules protecting accepted elements:

  • leave the menu unchanged
  • keep the track length
  • keep the map and controls
  • do not change car 1’s sound
  • improve the sounds of cars 2 and 3
  • place the red car on the road
  • mix asphalt and cobblestones
  • vary road widths
  • visibly raise sidewalks
  • always place buildings completely beside the road
  • use the supplied Berlin images as visual references

This prompt was much more effective than a general request to make everything “more realistic.” It separated desired changes from elements that had already been accepted.

Why the red car was floating

The cause was not the position of the 3D vehicle. The three AI-generated rear views contained different amounts of transparent space below the tires.

When all images were positioned with the same offset, the red vehicle appeared higher than the other models. ChatGPT therefore had to define an individual image anchor for each vehicle at the actual tire line.

This example demonstrates the value of visual bug evidence. “The car is floating” described the symptom. The screenshot made the position, vehicle model and perspective unambiguous, leading to a specific technical diagnosis.

Raised sidewalks and safe building clearance

The sidewalks were raised 24 centimeters above the road and given visible curbs.

For buildings, it was not enough to place only their center points outside the road. A wide building’s footprint could still extend into the carriageway. The entire footprint was therefore checked against the road, sidewalk and safety clearance.

This solution also needed extending. On a tight track loop, a building could be correctly separated from the current road section but intrude into another bend. The check therefore had to cover all relevant track points globally. Buildings that could not reach a safe position after several relocation attempts were not generated at all.

The final test measured a minimum clearance of 4.94 internal units between ordinary buildings and the road.

Photorealistic images do not yet make a photorealistic world

New materials for Berlin facades, asphalt and irregular cobblestones were generated from my references.

An initial attempt to add a large photorealistic landmark plane to the scene failed visually. From a favorable camera position it looked convincing. From an oblique or mobile perspective, it looked like an enormous photographic wall.

The plane was therefore removed again. Photographic textures remained only on spatially appropriate 3D surfaces such as roads and facades.

Two further old scene errors then became visible. First, the polygonal base of the Victory Column protruded into the road. Next, the Spree water surface and embankment wall, originally spread across large parts of the map, turned out to cut through a road outside the bridge sections.

The Victory Column was moved and the water was restricted to the two actual bridge areas.

These corrections show why automated tests and screenshots serve different purposes. A geometric test can check building clearance. It does not automatically recognize that a photographic texture looks like scenery or that a landmark foundation obstructs the sightline.

The technical state after five versions

The fifth version is still a prototype, but it is no longer a small throwaway experiment.

The current development state includes:

  • around 2,900 lines of JavaScript
  • around 1,065 lines of CSS
  • several browser and smoke-test scripts
  • 21 generated image assets in the project
  • a bundled HTML version of about 2.3 MB
  • a source package of approximately 20 MB with the original image files
  • three laps and 24 checkpoints
  • a track of around 1,508 internal units
  • asphalt, cobblestone and bridge sections
  • three vehicles with separate parameters
  • keyboard and touch controls
  • synthetic engine, tire, wind and city sounds
  • raised sidewalks and global building-clearance checks
  • a diagnostic interface for automated tests

V5 is considerably better than the first version. But it is not “100 percent photorealistic.” It combines real Three.js geometry with AI-generated photographic textures and two-dimensional vehicle representations. This hybrid technique can look good from a fixed chase perspective, but does not achieve the spatial quality of high-quality GLB vehicles, PBR materials and professionally modeled urban environments.

What my prompts achieved

Not every formulation had the same influence.

Prompt elementActual effectLesson
“One track is enough”limited the scope sensiblyclear scope boundaries help
“Three difficulty levels”led early to time limits and traffic variationsmeasurable features are easy to implement
“Start immediately, no login”prevented user accounts, but still allowed a menuapparently clear terms can be ambiguous
“Photorealistic”initially improved the menu, lighting and texturesquality adjectives need acceptance criteria
“Daytime mode only”removed unnecessary day-night complexitydeliberate cuts save development time
“Keep the menu, map and controls”protected accepted areas in V5preservation rules belong in every change prompt
“Never put buildings on the road”led to a measurable footprint checkabsolute rules should be technically testable
Problem.pngmade the incorrect vehicle anchor unambiguousscreenshots are often more valuable than longer descriptions
“Cars 2 and 3 like gasoline/sports cars”produced separate cross-plane and flat-plane sound modelssensory requests benefit from specific reference terms
“100 percent photorealistic”could not be fully achieved with the chosen systemtechnical limits should be stated before implementation

What worked well in my prompts

1. I described the product, not just individual features

Berlin, browser, three difficulty levels, no registration and an embeddable file together formed a clear product goal. This allowed ChatGPT to make architecture decisions independently.

2. I tested the game myself

The decisive problem in the third version was discovered through my own driving experience, not an automated test. Had I relied solely on the change summary, a superficial overhaul would have passed as a success.

3. I explicitly stated what should remain unchanged

In V5, the menu, track, map, controls and car 1’s sound had already been accepted. Explicitly naming them reduced the risk of functioning areas deteriorating during another revision.

4. I provided visual references

The Berlin photos gave the request “more realistic” a concrete direction. Problem.png turned a subjective description into a reproducible bug case.

5. I formulated negative requirements

“No buildings on the road,” “no obstacles in the carriageway” and “water only at bridges” are often more effective than abstract quality requests. They define observable states that can be tested.

What I would improve in my prompts

Too many systems in one iteration

The prompt for version 3 simultaneously requested a longer track, new vehicles, new sounds, more photorealism, different collisions, three laps, new mechanics and a new menu.

ChatGPT could formally tick off many items. But the most important expectation—a significantly different driving and world feel—got lost.

A better sequence would have been:

  1. revise the track and road space
  2. test driving physics and camera
  3. improve vehicle representation
  4. replace the environment and landmarks
  5. integrate sound
  6. add extra mechanics

Each step would have had its own playable acceptance review.

“Photorealistic” was not precise enough

To me, photorealism meant a convincing Berlin street with correct proportions, three-dimensional buildings, realistic cars and natural materials.

The model initially interpreted the term as a photorealistic menu image, new textures and photographic layers. Those elements met part of the wording, but not my actual expectation.

A better prompt would have specified:

  • no flat photographic walls
  • no visibly blocky buildings
  • a genuinely three-dimensional roadway
  • recognizable curbs
  • vehicles in contact with the road
  • building footprints completely outside the driving space
  • screenshots from at least three camera perspectives
  • openly state known limitations before delivery

Requirements and acceptance were not separated

A development prompt should explain not only what to build. It should also define how success will be recognized.

For the longer track, one criterion could have been:

The new lap must take at least three times as long during normal play and visibly include new sections along the route.

That would have prevented a purely mathematical extension without enough new gameplay from being considered a complete success.

ChatGPT’s biggest mistakes

1. Declaring success too early

The most problematic point was not the technical error itself, but the statement that the major overhaul was complete. In reality, the menu and feature list had changed more than the perceived game world.

A better completion report would have distinguished between “implemented,” “automatically tested,” “visually checked” and “not yet confirmed on a real device.”

2. Tests initially checked the wrong things

Internal diagnostic functions could skip checkpoints, force collisions and simulate driving states. That was useful for regression tests, but did not fully represent normal gameplay.

A test that teleports the vehicle directly to the next checkpoint proves the lap logic. It does not prove that the track is enjoyable to drive, varied or visually convincing.

3. Visual quality was checked too late

Several problems were discovered only through screenshots from specific camera perspectives:

  • invisible road surfaces
  • photographic layers over old block models
  • a floating red car
  • a landmark plane resembling a photographic wall
  • the Victory Column foundation on the road
  • water and an embankment wall in the driving space

In 3D projects, visual quality should therefore be checked during every iteration, rather than only after code tests have passed.

4. The single file was treated as the target architecture for too long

A single HTML file was ideal for the first prototype. It could be downloaded, opened and later embedded using an iframe .

As complexity grew, however, it became an obstacle. Models, textures, audio, physics, level data and tests should be organized in a regular project. A bundled single file can still be created as an export, but should not dictate the development architecture itself.

5. The chosen approach was not questioned early enough

Photographic textures and 2.5D vehicle images were clever short-term improvements. But they could not replace the missing foundation of 3D assets.

Instead of endlessly decorating the existing prototype, a clean rebuild would have been cheaper beyond a certain quality target.

Why a different language model does not automatically produce a better game

After V5, the question arose whether vibe coding with Claude would be better suited to further development.

Another model might structure individual systems differently, spot errors earlier or have different strengths with long codebases. But the visible quality difference between this prototype and a modern racing game mainly originates outside the language model.

What matters is:

  • high-quality 3D vehicle models
  • modular buildings and road elements
  • PBR materials
  • realistic lighting and reflections
  • a proper physics engine
  • animations and suspension
  • recorded or licensed engine samples
  • level design
  • performance optimization
  • systematic testing

Using Claude instead of ChatGPT would not replace a missing asset pipeline. The more useful approach is to use ChatGPT or Codex as a development assistant in a better production environment.

The most sensible next technical step

For a small, low-cost browser and app version, I would not keep extending the current prototype indefinitely. I would use it as a concept and reference and rebuild “Spree Rush Mini” in a structured way.

A suitable free stack would be:

  • Vite as the development and build system
  • TypeScript instead of an ever-growing JavaScript file
  • Three.js for rendering
  • Rapier for collisions and vehicle physics
  • Blender for vehicles, roads and buildings
  • GLB for compressed 3D models
  • optimized textures instead of embedded large PNG files
  • PWA features for installation from the browser
  • Capacitor for a later Android app

As the first target, I would build a short vertical slice rather than a complete Berlin circuit:

  • one convincing vehicle
  • one broad asphalt section
  • one narrow cobblestone street
  • one bridge section
  • one clearly recognizable Berlin landmark
  • one complete short race
  • stable desktop and touch controls

Only once that slice is convincing in graphics, driving feel and performance should the world be expanded.

A better prompt format for future versions

I would write future development prompts using a fixed structure:

PROJECT
Spree Rush Mini — browser and PWA racing game.

GOAL OF THIS ITERATION
Revise only driving physics and vehicle contact with the road.

LEAVE UNCHANGED
Menu, track, map, checkpoints, touch controls and car 1 sound.

CHANGES
- The vehicle must not visibly float.
- Wheels must visibly touch asphalt and cobblestones.
- Steering should respond more directly at low speed.
- The maximum steering angle should decrease at high speed.
- Cobblestones should provide less grip than asphalt.

ACCEPTANCE CRITERIA
- Screenshots of all three vehicles on asphalt and cobblestones.
- Automated test for individual vehicle anchors.
- 30 seconds of normal test driving without console errors.
- No changes to areas marked as unchanged.

DELIVERY
- new build identifier
- new cache-safe filename
- short list of verified criteria
- explicitly state remaining limitations

This format reduces room for interpretation and prevents a change to one system from unintentionally affecting several already accepted areas.

How to reduce token usage in future

The greatest efficiency gain comes not from shorter wording, but from fewer unnecessary reimplementations.

For future iterations, I would:

  1. maintain a permanent specification file in the project,
  2. document accepted features and known bugs,
  3. change only one or two systems per iteration,
  4. define measurable acceptance criteria before coding,
  5. retain automated regression tests,
  6. create visual comparison screenshots,
  7. start new chats with only the specification and current build,
  8. request source-code changes instead of repeated complete rebuilds,
  9. use image generation only after geometry has been settled,
  10. test the exact production file provided before every delivery.

This means the model does not have to reconstruct the entire development history in every round. It also reduces the risk of forgetting old requirements or reintroducing already fixed bugs.

My conclusion after five versions

The experiment was highly successful as a first test. In a single day, one natural-language prompt led to a real, playable 3D browser game with its own design, multiple vehicles, a Berlin track, sound, touch controls and automated tests.

The limitations became equally clear.

ChatGPT is very good at quickly producing breadth: menus, HUDs, controls, checkpoints, difficulty levels, sounds and effects can come together in a short time. Depth is harder: convincing vehicle physics, spatially correct environments, consistent visual quality and genuine photorealism require a suitable asset and production pipeline.

The most important lesson was therefore not that I should have worded my first prompt more precisely. It was realizing that AI-assisted game development still needs clear acceptance checks.

The model can program, generate images, find bugs and run tests. But it cannot reliably decide for itself whether a racing game truly feels new, fast, convincing or polished. That judgment remained my responsibility.

The fifth version of “Spree Rush 1” is not perfect yet. But it is working proof that even without traditional game-development experience, it is possible to create your own prototype within a few hours.

The next leap in quality will not come from an even longer prompt or simply switching to another AI model. It will come from a smaller, carefully planned scope, real 3D assets, better project architecture and stricter visual acceptance criteria.

For me, that is ChatGPT’s greatest value in game development: not a magic machine that delivers a finished game on the first attempt, but an extremely fast technical partner whose work must be guided by concrete goals, good references and honest human testing.

About the Author

Johannes Becht