AI Game Development Cost: How I Built a Playable Prototype for About 20 RMB

    This article examines how generative AI is reshaping game development by driving down the cost of validating an idea. Based on hands-on testing, it explains why web games are the preferred format for rapid prototyping, what AI can reliably deliver (and where human judgment is still required), and why "fun" matters more than complexity. It also outlines a reusable low-cost workflow, cost-control practices, and the key risks to watch. Readers will learn how to turn an idea into a playable browser prototype quickly and decide whether it is worth further investment.

    1. What Changes When Validation Becomes Cheap

    When generative AI enters the game development pipeline, the first thing it changes is not visual quality but the price of validating an idea. In the past, deciding whether a gameplay concept worked usually required engine engineering, art assets, level building, and multiple rounds of integration testing, with timelines measured in weeks or even months. Today, a web prototype with basic interactions may take only one conversation, a few rounds of refinement, and a few hours of automated generation.

    In a hands-on test, a web game produced by an AI coding tool running continuously for several hours generated all of its assets from scratch, at a total cost of several hundred US dollars. A lighter attempt brought the cost down to roughly 20 RMB. The number itself is not what matters. What matters is the structural shift it creates: when the cost of trial and error approaches zero, the bottleneck in the development process moves from “implementation” to “judgment.”

    So the questions worth discussing are no longer “Can AI make games?” but rather:

    • Can an ordinary person reliably turn an idea in their head into a playable prototype?
    • Where is AI reliable, and where must a human step in?
    • Does low cost mean low quality, and how do you avoid something that “runs but isn’t fun”?

    2. Why Start With Web Games: Removing the Technical Barrier From the Critical Path

    Mention game development and most people think of professional engines, complex asset pipelines, and team collaboration. But for the goal of validating an idea, the web is the better choice, for three reasons.

    First, distribution cost is extremely low. The output is a link. There is no installation, it runs across platforms, and you can quickly expand your feedback sample.

    Second, the technology stack is well established. Rendering, input handling, audio playback, and state management all have mature, general-purpose solutions. AI is well trained on these patterns, so the generation success rate is high.

    Third, the iteration loop is short. Change a line of prompt, refresh the page, and see the result, forming a minute-level cycle of “prompt, run, observe, refine.”

    It is worth stressing that the web is not chosen because it is “more advanced.” It is chosen because it removes complex engineering knowledge from the critical path, letting creators focus their energy on judging gameplay and experience.

    3. What AI Can Reliably Deliver Today

    After playing through a batch of AI-generated web mini-games, a clear dividing line emerges.

    What AI does well:

    • Approximate reproduction of scenes and assets: structured environments such as containers, pipes, and corridors can be reasonably reconstructed;
    • Basic interactions and state machines: movement, aiming, dodging, and switching between light and heavy attacks are complete;
    • Rule systems: common mechanics such as scoring, timing, win/loss conditions, and resource consumption;
    • UI skeletons: standard layouts such as health bars, ammo counters, inventories, and result panels.

    Where AI clearly struggles:

    • Complex combos and frame-level detection: content that requires precise frame counts, cancel windows, and hit feedback tends to fall apart;
    • Game feel tuning: “invisible parameters” such as acceleration, damping, input buffering, and coyote time are hard to get right on the first pass;
    • Pacing and level curves: difficulty ramp, tutorial design, and emotional highs and lows require design judgment;
    • Original gameplay loops: without a clear reference, AI tends to produce something that “looks complete but lacks core tension.”

    The practical conclusion is this: given clear gameplay and a clear reference, AI can achieve “formal similarity,” but “spiritual similarity” must be filled in by a human through parameter and pacing design.

    4. The Real Standard: Not Complexity, but Fun

    The experience of early Flash games and indie titles repeatedly confirms one thing: expressiveness is not equivalent to complexity. A story can be carried by text and dialogue alone, and the satisfaction of combat can come from visual effects, hit stop, screen shake, and sound feedback. This means the low-cost approach is not a compromise; it is naturally aligned with the essence of “fun.”

    Engineered into a simple model:

    1. Experience intensity = Feedback density × Feedback timeliness × Rule clarity
    • Feedback density: the amount of audiovisual and numerical feedback per unit of time;
    • Feedback timeliness: the delay from input to feedback, usually kept within the perceptual threshold;
    • Rule clarity: whether the player can understand “what I should do” within three seconds.

    AI is good at building the skeleton of these three elements; the human tunes the coefficients into the right range.

    5. A Reusable Low-Cost Development Workflow

    The observations above can be organized into an actionable path for individual creators and small teams.

    1. Define the core verb in one sentence. For example, “dodge and counter,” “resource trade-off,” or “path planning.” A single verb keeps the gameplay from scattering.
    2. Lock the reference. Specify the gameplay genre and scene structure to reference, giving generation a constraint and significantly improving the first-pass success rate.
    3. Layer the prompts. Split prompts into four layers: “world and scene,” “character and actions,” “rules and numbers,” and “UI and feedback.” Generate layer by layer to avoid structural collapse from piling everything in at once.
    4. Get the loop working before polishing. Prioritize the “input, detection, feedback, result” loop, then add art and sound.
    5. Externalize parameters. Keep game-feel values centralized for fast trial and error.

    Illustrative structure:

    1. // Keep game-feel parameters centralized for high-frequency tuning
    2. const TUNING = {
    3. moveAccel: 1800,
    4. moveDamping: 0.85,
    5. inputBufferMs: 120,
    6. coyoteTimeMs: 90,
    7. hitStopMs: 60
    8. };
    1. Define minimal validation metrics. Examples include time to first completion, distribution of failure reasons, and average session length, using data instead of subjective debate.
    2. Keep a human gate. Generated content must pass a playability review, especially detection logic and the difficulty curve.

    6. Cost Control: The Difference Between 20 RMB and 550 USD

    The key to low cost is not “making AI do less work” but reducing waste.

    • Generate assets on demand: use placeholders first and replace later, avoiding paying for discarded approaches;
    • Reuse and modularize: build a reusable library of scene components, UI elements, and sound clips;
    • Fail fast: set a cap on generation rounds and fall back to manual design once the threshold is exceeded;
    • Tier compute and storage: distribute build artifacts and static assets via object storage, send runtime logs and metrics to a logging service, and surface anomalies through monitoring alerts to avoid manual watching;
    • Invest only at the bottleneck: concentrate the budget on game feel and levels rather than piling on irrelevant content.

    7. Risks and Boundaries

    Three risks must be recognized clearly. First, homogenization: over-reliance on references leads to similar gameplay, so differentiation is needed in the core mechanics. Second, maintainability: generated code tends to be loosely structured, so module separation and comments should be added early. Third, compliance and originality: assets, names, and gameplay expression must avoid infringement, and AI-generated content still requires human review.

    8. Conclusion

    AI has compressed the fixed cost of game development into a variable cost, making “validating an idea” an everyday action anyone can afford. But lower cost does not automatically produce a good game. What is truly scarce is judgment: defining the core verb, designing the feedback curve, and holding the playability gate. For developers, the best strategy right now is not to wait for a stronger model but to start running ideas immediately with low-cost prototypes, break them in the browser first, and then decide whether they are worth the investment.