Building a 3D Deep-Sea Game Prototype with Code Alone: A Hands-On Evaluation

    This article documents a structured, hands-on test of using an AI coding tool to build a 3D deep-sea exploration game prototype entirely from code. It breaks the task into verifiable engineering goals, reviews the first version's strengths and gameplay gaps, and outlines an incremental iteration strategy with regression baselines. It also proposes a six-dimension scoring checklist, common failure modes, and practical ways to keep long-chain AI coding tasks stable and deliverable.

    1. Introduction: Why 3D Scenes Are a Tough Test for AI Coding Tools

    In graphics and interactive development, building an immersive 3D scene usually requires close collaboration among artists, modelers, animators, level designers, and engine programmers. That is exactly why “generating a runnable, interactive 3D deep-sea exploration prototype from scratch, using code alone” has become a high-value task for measuring the overall capability of an AI coding tool. It tests requirement understanding, engineering structure, use of graphics APIs, physics and camera control, and stability across long task chains.

    Discussions around high-performance flagship AI coding tools have been heating up. On one hand, their results on professional agent tasks keep getting refreshed, and the balance between cost and effectiveness is a focus of attention. On the other hand, real-world use has exposed issues such as unstable execution, requirement drift, premature termination, and poor delivery communication. Instead of staying in the realm of opinion, it is better to quantify capability boundaries with a set of structured test tasks. This article uses a “deep-sea exploration prototype” as the main thread and walks through the entire process from initial concept to multiple rounds of iteration.

    2. Task Design: Turning “Build a Deep-Sea Game” into Verifiable Engineering Goals

    The first step of the evaluation is not writing code, but translating a vague idea into verifiable engineering metrics. The original concept included: complex seabed terrain, deep-sea creatures, shipwreck relics and research facilities, a drivable submersible, first-/third-person view switching, and environmental interaction devices such as sonar and searchlights.

    For easier acceptance, these can be grouped into four layers:

    • Visual layer: natural terrain relief, reasonable materials and lighting, with a sense of underwater fog and volumetric light;
    • Structural layer: clear scene object organization, with no clipping, no flickering, and no obvious frame drops;
    • Interaction layer: support for camera rotation and zoom, depth adjustment, and clicking targets to view information;
    • Gameplay layer: support for free driving, view switching, and exploration of unknown areas.

    The value of this layered approach is that it turns the subjective judgment of “does it look good” into an objective checklist of “does it run, is it interactive, and is it stable,” and it also provides a regression baseline for subsequent iterations.

    3. First Version Test: An Impressive “3D Science Exhibit” and Its Capability Gaps

    The completeness of the first version exceeded expectations. Deep-sea terrain, the submersible, hydrothermal vents, seabed relics, research facilities, and multiple underwater creatures were naturally organized in the same scene, with no obvious clipping or flickering and stable frame rate. Underwater fog, searchlight cones, and sonar ripples were all in place, and the overall result already had the atmosphere of a deep-sea research expedition. For interaction, users could rotate and zoom the camera, adjust viewing depth, and click different targets to view descriptions.

    But it soon becomes clear that this is more like a refined 3D science exhibit than an exploration game. The submersible is basically fixed in the scene, and the player observes passively in third person; there is no free driving, no first-person view, and no real progression into unknown areas. The problem is not “generation capability” but the “gameplay loop”: AI coding tools tend to deliver visible visual results first and cover implicit engineering structures such as state machines, input mapping, and quest systems insufficiently.

    A typical scene loop can be described with pseudocode:

    1. state = { mode: "third_person", depth: 0, sonarCooldown: 0 }
    2. on update(dt):
    3. if input.forward: vehicle.moveForward(dt)
    4. if input.toggleView: mode = (mode == "third_person") ? "first_person" : "third_person"
    5. if input.sonar and sonarCooldown <= 0:
    6. emitSonarPulse(); sonarCooldown = 5.0
    7. depth = clamp(depth + input.vertical * speed * dt, minDepth, maxDepth)

    This structure looks simple, but it makes clear three things that later iterations must complete: the mapping from input to state, the branch for view switching, and resource-based interaction with a cooldown.

    4. Iteration Strategy: Taming Long-Chain Tasks with Regressable Requirement Increments

    Starting from the second version, avoid proposing all gameplay at once; instead, advance in increments, keeping a runnable version at every step:

    1. Driving and view: first implement free movement of the submersible and first-/third-person switching, and verify input feel and camera smoothness;
    2. Exploration progression: introduce zones and a fog-of-war mechanism, where unexplored areas stay invisible and are gradually revealed after sonar scans;
    3. Quest interaction: bind readable data nodes to the shipwreck and research facilities, forming an “explore-discover-record” loop;
    4. Stability regression: at the end of each round, rerun the three baseline checks of no clipping, no flickering, and stable frame rate.

    Supporting engineering constraints are equally important: decouple scene objects, control logic, UI, and data configuration into layers; use a fixed seed for procedurally generated terrain so it can be reproduced; and centralize key parameters (movement speed, fog density, sonar cooldown) for quick tuning. An example:

    1. config = { moveSpeed: 6.0, fogDensity: 0.035, sonarCooldown: 5.0, seed: 20261118 }
    2. world = buildTerrain(config.seed)
    3. vehicle = createVehicle(config.moveSpeed)
    4. registerInteractables([wreck, lab, vent])

    5. Evaluation Dimensions and Acceptance Checklist: Making “Does It Feel Like a Game” Scorable

    To make the conclusions reusable, it is recommended to fix six dimensions: requirement understanding, task completion, execution stability, interaction completeness, performance, and communication and delivery experience. Give each dimension a clear criterion, for example “does view switching take effect within two clicks” and “does continuous ten-minute operation show frame drops or abnormal interruptions.”

    The value of this checklist-based evaluation is that it turns scattered complaints on social media into a defect list that an engineering team can track. For enterprise users, this directly affects whether an AI coding tool can be incorporated into a formal R&D process: only when it is measurable and regressable can it be used at scale.

    6. Common Failure Modes and How to Avoid Them

    The high-frequency issues observed in testing fall into four categories: requirement drift, premature termination, missing implicit structures, and insufficient delivery notes. Ways to avoid them include: explicitly stating non-negotiable constraints in the prompt (such as first-person support being mandatory); requiring the architecture and state machine to be output before the implementation; requiring each round to include run instructions and known limitations; and setting checkpoints for long tasks so that, after a failure, work resumes from the most recent runnable version.

    7. Conclusion: From “Can Generate” to “Can Deliver”

    The value of generating a 3D deep-sea prototype with code alone lies not in how impressive the output looks in one shot, but in validating an engineering path: layered requirements, incremental iteration, baseline regression, and checklist acceptance. When AI coding tools are combined with general cloud capabilities such as the container platform, log service, and monitoring and alerting offered by Baidu AI Cloud, prototype validation can move further toward an observable, reproducible, and collaborative routine R&D process. For developers, the real payoff is mastering a methodology that reliably turns ideas into runnable systems.