Create a fully playable 3D tower defense game that runs in the browser as a complete, polished game — not a tech demo or a static diorama. Enemies march along a path through a three-dimensional battlefield toward the player's base, and the player builds, upgrades, and coordinates a defense of towers to stop them across a full campaign of escalating waves.
The battlefield should be a real place with personality: a considered layout of terrain, path, buildable ground, and landmarks, presented with cohesive art direction, lighting, and atmosphere. Let the player orbit, zoom, and frame the camera freely so surveying the field from any angle feels natural, with smooth camera easing and a comfortable default framing. Ambient life — drifting particles, animated environment details, idle tower motion — should keep the scene feeling inhabited even between waves.
Give the defense genuine strategic depth. Offer several tower families with truly distinct roles — for example rapid single-target fire, heavy splash damage, slowing or weakening effects, extreme-range precision fire, and an economy or support option — each with multiple upgrade tiers that visibly change the tower's appearance, stats, and behavior. Placement should feel tactile: a ghost preview with live validity feedback, clear range visualization, informative selection panels, and an economy where every purchase competes with saving for something better, including a sell/refund path. Enemies should be a varied cast — fast scouts, armored brutes, swarming weaklings, shielded or healing supports, and occasional flyers or path-ignoring threats — arriving in authored waves that ramp with intent, preview before they hit, and culminate in memorable boss encounters and a final victory.
Make combat juicy and readable. Projectiles, beams, or arcs with visible travel; muzzle effects; impact bursts; status effects rendered clearly; damage feedback and health states; satisfying deaths with particles; and audio design (procedural or synthesized is fine) for shots, hits, deaths, wave calls, victory, defeat, and UI, with a mute control. The interface should carry the whole game state: lives, currency, wave progress, speed controls (pause, normal, fast), early-wave-call incentives, tooltips, and readable feedback for every edge state — insufficient funds, invalid placement, a leaking enemy, the final wave.
Carry the experience through every state: an inviting start screen with how-to-play guidance, mid-game tension, victory and defeat with restart, and a difficulty curve that is fair but demanding. The result must be genuinely winnable and losable through skilled play, and rewarding to replay. Handle different desktop viewport sizes gracefully.
Do not take shortcuts or settle for a cookie-cutter approximation with one tower and endless identical waves. This skill imposes no token budget limit, so pursue the full depth of the experience — balanced waves, distinct strategic options, juicy feedback, polished presentation, and complete game states — and keep refining until the game feels authored, complete, and genuinely fun to play.