AI Game Development Tested: Cutting Prototyping Costs to Around 20 CNY
This article reports on a hands-on experiment with AI-generated browser games, examining what generative AI can and cannot do in game development. It explains why the web is an effective format for low-cost validation, outlines a reusable five-stage pipeline from gameplay definition and reference anchors to structured prompts, asset generation, and feel tuning, and breaks down how a minimal budget is achieved by paying only for validation. It also covers engineering practices for making AI-generated code maintainable, along with a risk checklist for copyright, asset consistency, performance, and playability. The core takeaway is that AI compresses development cost, not the judgment of whether a game is actually fun.
1. Why This Experiment Started: A Browser Game That Looked Like a AAA Title
Developers who grew up with Flash and indie games often carry a bias against lightweight mini-games. That bias disappeared quickly when I tried a shooter running entirely in a browser: realistic lighting, fairly high-fidelity materials, and a complete firefight rhythm made me wonder, for the first few minutes, whether I was actually playing a cloud-streamed AAA title.
The reality is more mundane. Games like this are often produced entirely by generative AI. The prompts are short, the model runs continuously for hours and outputs a playable build, and assets such as models, audio, and textures are generated from scratch. The total cost works out to only a few hundred dollars.
This raises two real questions:
- Can generative AI already replace a game development team?
- Can an ordinary person with no engine experience turn an idea in their head into something playable?
The answer this article offers is that AI cannot replace “fun,” but it can reduce the cost of validating whether a gameplay idea is fun to almost nothing.
2. Why Start With Browser Games: Removing the Technical Barrier From the Critical Path
The conventional view is that making games means engine toolchains, specialized teams, and long timelines. The value of the web format is not that it is “more advanced,” but that it changes the cost structure:
- Extremely low distribution cost: once generated, a single link is enough to playtest. No installation, no store review.
- Very short feedback loop: a gameplay hypothesis can be validated by real players within hours.
- Converged tech stack: the browser natively provides rendering, input, audio, and networking, so developers do not have to solve platform adaptation first.
- Low cost of failure: a rejected prototype costs hours, not months.
The most important point for developers is that creativity and gameplay become the critical path for the first time, instead of being blocked at the door by engineering details.
3. Hands-On Observations: AI Achieves Surface Resemblance, Not the Real Feel
After playtesting a range of popular AI-generated browser mini-games, a clear capability boundary emerged.
What AI already does well:
- Scene and asset generation: structured scenes such as shipping containers, pipes, and combat zones can be produced in batches.
- Basic interaction logic: input response for movement, aiming, firing, dodging, and light and heavy attacks.
- Mechanism skeletons: health, hit detection, wave spawning, and win/loss conditions.
- Visual style transfer: when the reference is clear, AI can closely approach the original’s visual character.
What AI clearly struggles with:
- Complex moves and action transitions: multi-hit combos, cancel frames, and action priority are hard to reproduce reliably.
- Feel tuning: “body-feel parameters” such as attack windup, movement inertia, and hit stop require repeated trial and error.
- System-level balance: numerical curves, resource loops, and difficulty pacing.
- Original gameplay loops: without a reference, output tends to degrade into a collage of mechanics.
The conclusion is straightforward: the clearer the gameplay and reference, the higher AI’s completion level; the more a project depends on original design and feel polishing, the greater the need for human involvement.
4. A Reusable Low-Cost Development Pipeline
The testing process can be abstracted into a five-stage pipeline with controllable and repeatable costs.
Gameplay definition (most important)
Write the core loop in one sentence, for example “enter an area — collect resources — engage — extract — upgrade.” If you cannot say it in one sentence, AI cannot fill in the gaps either.Reference anchor
Specify a clear genre paradigm (such as extraction shooter, side-scrolling action, or tower defense) rather than a vague “make a fun game.” The reference anchor determines the degree of surface resemblance.Structured prompts
Break requirements into five blocks — scene, character, interaction, rules, and UI — and generate them block by block instead of piling everything into one prompt.
Example prompt structure:
Genre: top-down shooter with an extraction loopScene: enclosed freight yard, shipping containers as cover, 3 main lanesCharacters: player (100 HP, dash with cooldown), patrolling guards (simple vision cones)Interaction: WASD movement, mouse aiming, left click to fire, R to reload, Shift to dashRules: after picking up loot, reach the extraction point within 90 seconds; being downed loses the lootUI: health bar top-left, timer top-right, ammo count at the bottomConstraints: no external assets; everything generated procedurally
Asset and audio generation
Generate textures, models, and sound effects separately, with unified naming and size conventions to avoid rework later. It is advisable to keep an “asset list” as a version baseline at this stage.Iteration and feel tuning
Tune only three categories of parameters: movement speed, attack windup and recovery, and hit feedback. Change one group at a time, and record the change and the resulting feel.
5. Cost Control: How a Budget Around 20 CNY Comes Together
Low cost is not magic; it comes from compressing spending down to “pay only for validation”:
- Compute: run the prototype locally in the browser with no server needed; only after going live for playtesting should you consider object storage for static assets, a content delivery network for acceleration, and logging services for collecting exceptions.
- Generation: generate only the minimum asset set required for validation. Start with a gray box, then replace the art.
- People: one person handles design, generation, and tuning, avoiding communication overhead.
- Time: iterate in units of hours, with a stop-loss line such as “if it is still not fun after three tuning rounds, reject it.”
Once validation passes and you need to scale up, you can then bring in container platforms to host server-side logic, message queues to handle asynchronous tasks, and monitoring and alerting to cover crashes and latency. This is a typical progressive architecture evolution.
6. Engineering Advice: Making AI Output Maintainable, Not Just Runnable
Code generated directly by AI often runs but is hard to modify. Engineering practice should stick to four principles:
- Layering: separate rendering, input, rules, and data; the rules layer should not depend on a specific rendering implementation.
- Data-driven design: externalize values and level configuration as structured data so tuning does not require changing logic.
- Determinism: use fixed seeds for random logic to make issues reproducible.
- Observability: instrument key states, and use logs and monitoring to pinpoint exactly which frame is causing the “feel is off” problem.
// Example of a data-driven character configurationconst playerConfig = {maxHp: 100,moveSpeed: 5.2,dashCooldown: 1.4,fireRate: 0.12,hitStop: 0.05};
7. Capability Boundaries and Risk Checklist
- Copyright and compliance: when the reference is a specific object, avoid directly reusing protected characters, maps, and audio.
- Asset consistency: multiple rounds of generation easily cause style drift, so fix the style description and color conventions.
- Performance risk: the browser is sensitive to draw calls and asset size, so control texture dimensions and reuse objects.
- Playability risk: AI is good at implementing mechanics but not at judging fun, so the final verdict must come from real playtesting.
8. Conclusion: AI Compresses Cost, Not Judgment
The most important takeaway from this experiment is not “making a game for around 20 CNY,” but that the validation process has been completely rewritten: the technical barrier is no longer the gatekeeper of creativity, and trial and error has become cheap and frequent. AI turns ideas into runnable entities, while developers answer the one question that cannot be outsourced — whether it is actually fun. With the general-purpose capabilities of cloud platforms such as Baidu AI Cloud (object storage, content delivery, container platforms, logging services, and monitoring and alerting), this “validate first, scale later” path can extend smoothly into a formal launch stage.
