Hands-On: AI Cut Web Game Development Costs to About 20 RMB

    This article reports a hands-on test of how far AI can reduce the cost of building a playable web game, bringing total spending under 20 RMB. It explains why web games are a suitable validation vehicle, breaks down where the money actually goes, and lays out a reusable four-stage workflow covering idea framing, prompt engineering, asset generation, and performance plus release. It also defines where human judgment still matters and what remains scarce once prototyping becomes cheap.

    1. Where It Started: A Game That Didn’t Look AI-Made

    A web game called Saltline recently drew attention. Its realistic lighting and detailed high-resolution materials made many people refuse to believe it was AI-generated. In reality, it was built almost entirely by AI: the developer supplied only a short prompt and let an AI coding tool run continuously for about eight hours to produce the result. The author also noted that models, audio, and textures were all generated from scratch, for a total cost of roughly $550.

    What matters here isn’t the novelty. It’s an engineering signal: the marginal cost of game development is falling fast. So we ran a test of our own — can an ordinary developer turn an idea in their head into something playable, and keep the cost under 20 RMB? The answer is yes, provided you understand what AI is good at and what it isn’t.

    2. Why Web Games Were the Test Vehicle

    Mention game development and most people think of professional engines, professional teams, and long timelines. Those approaches remain irreplaceable for AAA projects, but they are far too heavy for validating whether an idea holds up.

    Web games fill exactly that gap:

    • No install, no distribution friction: once generated, you share a link and people play immediately, so the feedback loop is very short.
    • Small footprint, fast iteration: a single-page app can carry a complete gameplay loop, and a revision only requires a refresh.
    • Lower technical barrier up front: creators don’t get stuck on graphics APIs and asset pipelines first, and can spend their energy on the idea and the gameplay.

    The core logic: validate the gameplay first, industrialize later. Whether an idea works becomes clear in days rather than months.

    3. Cost Breakdown: Where the 20 RMB Goes

    Getting the total down to 20 RMB isn’t about being cheap. It’s about a shift in cost structure. Traditional development concentrates cost in labor and art; in an AI-assisted workflow, cost concentrates in call volume and rework.

    Stage Traditional approach AI-assisted approach
    Gameplay prototype Several person-days Hours of conversational generation
    Art assets Outsource or build in-house Generative output plus human screening
    Sound effects Purchase licenses Generate plus light post-processing
    Testing Manual regression Scripted plus AI-assisted diagnosis

    Only two things actually cost money: fees for generative service calls, and the hidden cost of repeated retries needed to get a usable result. Controlling the number of retries is more effective than pushing unit prices down.

    4. A Reusable Four-Stage Workflow

    Stage 1: Narrow the idea into a testable proposition

    Don’t start with “build an open world.” Compress the idea into a one-sentence proposition you can test, for example: “the player understands and repeats the core action loop within 30 seconds.” The proposition must be observable and decidable.

    Stage 2: Prompt engineering — turn vague intent into constraints

    AI is not a wishing well; it is an executor that needs constraints. An effective prompt usually contains four elements:

    1. Role: You are a senior front-end game developer
    2. Goal: Implement a single-file, runnable web mini-game
    3. Constraints: Use only native Canvas 2D, no external assets
    4. Acceptance: Stable 60 FPS, playable with keyboard and touch

    The key is writing the acceptance criteria into the prompt so the model can self-check, instead of you guessing after the fact.

    Stage 3: The “good enough” principle for asset generation

    Generating every model, texture, and sound effect sounds great, but engineering calls for restraint:

    • Prefer procedural generation (geometry, color blocks, noise textures): zero cost and fully controllable.
    • When bitmaps or audio are needed, use a three-step generate–screen–compress process to keep size down.
    • Maintain an asset list to avoid wasting calls on duplicate generation.

    Stage 4: Performance and release

    The enemies of a web game are first-load size and main-thread blocking. Practical points:

    • Lazy-load assets; load only what the first screen needs.
    • Cache static layers with an offscreen canvas.
    • Update logic on a fixed timestep, keeping rendering and logic decoupled.
    • Publish to object storage plus a content delivery network; the link is the distribution.

    5. AI’s Limits and Human Backstops

    Be clear-eyed: AI is good at generating a runnable skeleton, and bad at judging whether something is fun. Feel, pacing, and the difficulty curve still need a human. Keep three human checkpoints:

    1. Gameplay review: does the core loop hold up?
    2. Feel tuning: fine adjustments to values and feedback.
    3. Quality gate: frame rate, compatibility, accessibility.

    6. Closing Thoughts

    20 RMB is not a gimmick; it is the result of a method: hand the asset-heavy work to generative capabilities and keep judgment with people. For individual developers, this flattens the barrier to validating an idea. For teams, it makes trial-and-error in the prototype stage negligible. The genuinely scarce resource is no longer working hours, but ideas worth validating.