Wish-Driven Programming With Upgraded LLMs: A Practical Guide to Building a Racing Game
This article explores how recent large language model upgrades are shifting development from writing code to describing desired outcomes, a pattern the author calls Wish-Driven Programming. It explains which capability improvements matter beyond benchmark scores, including terminal operation, tool execution, and long-horizon automation, and why performance-to-cost gains are critical for agent workflows. Through a hands-on example of recreating a simple racing game across three iterations, the article shows where wish-driven development excels, where it goes off track, and how structured prompts, self-verification, context management, and cost controls keep it reliable.
1. Introduction: From Writing Code to Describing a Wish
Over the past two years, the way developers collaborate with large language models has changed structurally. Early on, we tended to treat the model as a “faster autocomplete engine”: requirements had to be broken into fine-grained pieces, interfaces had to be specified precisely, and code had to be confirmed section by section. Recent model iterations increasingly emphasize autonomous execution in terminal environments, tool invocation across multi-turn loops, and staying aligned with a goal over long-horizon tasks. This shift has given rise to a new programming paradigm—Wish-Driven Programming—where the developer only describes the expected result, and the model plans the path, writes the code, runs verification, and fixes errors on its own.
This article first discusses, in general terms, what this kind of model upgrade usually means. It then uses a complete hands-on example—recreating a racing game—to show when Wish-Driven Programming is efficient, when it spins out of control, and how to pull it back into a manageable range with engineering practices.
2. What Model Upgrades Actually Change: From Benchmarks to Real Task Cost
1. Benchmarks Are a Signal, Not a Conclusion
Whenever a new model version is released, the community focuses most on changes across evaluation leaderboards. But it is important to be clear: leaderboards only reflect relative performance on specific datasets and do not directly translate into production readiness. What is truly informative is “which dimensions show significant improvement.”
Three categories of capability are usually worth attention:
- Terminal operation: whether the model can correctly interpret command-line output, locate errors, and navigate the file system;
- Tool execution: whether it can call the right tool at the right moment and parse structured returns;
- Automation and long-horizon tasks: whether it can keep the goal from drifting across multi-step loops and complete tasks that require dozens of rounds of interaction.
Together, these three capabilities determine whether a model is fit for an “agent” role, rather than just “question answering” or “autocomplete.”
2. Pareto Improvement in Performance and Cost
More important than benchmarks is the Pareto improvement in “performance versus cost.” It means: at an unchanged unit price, reducing invalid output, shortening the task completion path, and lowering the number of retries so that the actual cost of completing the same task goes down.
This is especially critical for agents. A real automation task is often not “one request, one response,” but includes a large number of model calls, tool calls, and loop-based checks. Any invalid reasoning, repeated reads and writes, or erroneous retries will scale linearly into time and cost. Therefore, targeted optimization of the agent harness has more engineering value than simply improving single-turn answer quality.
3. What It Means for Developers
- Less “manual fallback”: the model can run tests, read logs, and modify code on its own;
- Shorter iteration loops: the time from requirement to a runnable demo is compressed;
- More predictable cost: the number of interaction rounds needed to complete a task tends to stabilize.
3. Practicing Wish-Driven Programming: Recreating a Racing Game
To validate the capabilities above, I chose a task with strong visualization and intuitive feedback: recreating a simple racing game. The runtime was a programming toolchain optimized for agents, and the model was called through standard interfaces.
First Attempt: Pure Wish
I prepared no requirements document and designed no technical plan. I gave only a single sentence:
Make a racing game: drivable, with a track, with timing, supporting a driver's-eye view and a rear (chase) view toggle.
Result: the home page worked, and the core gameplay was basically in place—the car was controllable, the track existed, timing ran, and the view could be switched. But the visual style was rough, details were missing, and it fell clearly short of expectations.
Problem diagnosis:
- The requirement was too abstract and lacked constraints on style, proportions, and interaction feedback;
- The model tended to first build a “runnable skeleton,” which is a reasonable strategy, but there were no follow-up refinement instructions;
- There were no acceptance criteria, so the model did not know the definition of “good.”
Second Attempt: Structured Prompt
I upgraded the wish into “wish + constraints + acceptance”:
Goal: a racing game.Must include:1. Track: a closed loop with curves and straights, with collidable boundaries;2. Car: accelerate/brake/steer, with a top speed limit, decelerating after collisions;3. Timing: single-lap timing plus best-result recording;4. Views: a driver's view (first-person from the front) and a rear view (third-person follow), switchable by key;5. Style: low-poly, neon night scene, reflective ground.Acceptance: able to start driving within 10 seconds after launch, no stutter when switching views, accurate timing.
The result improved significantly: the track was closed, collisions worked, timing and best results were available, and view switching was smooth. The style was still plain, but the game was playable.
Third Attempt: Adding Iteration and Self-Verification
I asked the model to run and take screenshots to check its own work before delivery:
After finishing, please:1. Launch the project and confirm there are no console errors;2. Simulate one complete lap and confirm the timing and best result are recorded;3. If there is lag when switching views, optimize the render loop;4. Output the key file structure and how to run it.
The model began to proactively find detail issues—for example, collision detection was too sensitive, and the timer did not freeze when paused—and fixed them.
4. A Reusable Methodology
1. The Three-Layer Structure of Requirements
- Goal layer: one sentence describing the final experience;
- Constraint layer: functional boundaries, style, performance, compatibility;
- Acceptance layer: an executable checklist.
2. Context Management
In long tasks, context expands quickly. Recommendations:
- Submit requirements in phases to avoid piling everything up at once;
- Have the model maintain a short “task status file”;
- Require the model to restate and confirm key decisions.
3. Cost Control
- Make “skeleton first, then refine” explicit to reduce repeated refactoring;
- Require the model to self-check before submission, reducing the rounds needed for humans to find problems;
- Set an upper limit on retries for failures to avoid infinite loops.
5. Conclusion
Wish-Driven Programming is not “thinking less.” It moves thinking up from “implementation details” to “goal definition and acceptance design.” Once models have stronger terminal operation, tool execution, and long-horizon automation capabilities, the developer’s core work becomes: state the wish clearly, define the standards precisely, and draw the boundaries reasonably. This is both a gain in efficiency and a new form of engineering capability.
