Light Tower / Base Merge Defense — AI Starter Prompt & Architecture
Waves of enemies march along a clear winding path toward your base. Spend gold earned per kill to spawn Tier-1 turrets on grid pads, drag two identical turrets together to merge into stronger Tier-2/3/4 towers with distinct attack patterns (rapid, splash, slow), and survive 10 escalating waves + boss.
Original Prototype Prompt: Light Tower / Base Merge Defense
Paste into Cursor, Claude Code, Bolt, Lovable, or DeepSeek to scaffold a playable original game prototype around this genre mechanic.
Target Platform
Prompt Language
Visual Style & Palette
You are a senior casual-game engineer specializing in polished HTML5 mini-games. Build a **complete, immediately playable, zero-TODO, production-quality** original mini-game prototype in one pass.
### 1. Original Identity & Visual Direction
- Visual Style — Clean Modern Geometric: Invent a fresh original game title. Use crisp tactile rounded vector shapes, subtle soft shadows, off-white/slate canvas (#F8FAFC) with vivid colorblind-safe accents (#4F46E5, #10B981, #F59E0B, #EF4444, #0EA5E9). Render everything procedurally with original assets.
- Build every visual shape, title, palette, and audio effect 100% procedurally from scratch with zero external image/audio URLs so the project is lightweight, original, and ready for deployment.
### 2. Core Gameplay Mechanics & Architecture (Archetype: Light Tower / Base Merge Defense)
- Genre Focus: Tower Defense, strategy
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): Waves of enemies march along a clear winding path toward your base. Spend gold earned per kill to spawn Tier-1 turrets on grid pads, drag two identical turrets together to merge into stronger Tier-2/3/4 towers with distinct attack patterns (rapid, splash, slow), and survive 10 escalating waves + boss.
- Core Loop: Waves of enemies march along a clear winding path toward your base. Spend gold earned per kill to spawn Tier-1 turrets on grid pads, drag two identical turrets together to merge into stronger Tier-2/3/4 towers with distinct attack patterns (rapid, splash, slow), and survive 10 escalating waves + boss.
- Data Model & Solvability: Waypoint path array, `Enemy { hp, maxHp, speed, pathIdx, slowTimer }`, `Tower { slotIdx, tier, type, cooldown, range }`, `Projectile[]`, and wave spawn schedule.
- Controls, Juice & Boosters: Visible range circle on tower select, crisp drag-to-merge snap highlight, hit flash + floating damage numbers, 1x/2x fast-forward toggle, and Emergency Gold Drop booster.
- Progression Curve: 10 structured waves introducing fast scouts (Wave 3), armored brutes (Wave 5), swarm rush (Wave 7), and a multi-phase Boss (Wave 10).
### 3. Target Platform & Engineering Spec (Mobile PWA / App)
- Deliverable: Mobile-first 9:16 vertical HTML5/React + Canvas 2D web app structured for offline PWA installation and 1-command Capacitor iOS/Android wrapping.
- Touch Ergonomics: Thumb-zone bottom controls, `touch-action: none`, prevent double-tap zoom and text selection, crisp 60fps DPR-scaled Canvas rendering, and subtle `navigator.vibrate(12)` haptic feedback on key actions.
- Session & Retention: Fast cold-start (<1s), instant 1-tap retry on fail, daily streak counter, and rewarded-ad / IAP-free booster hooks ready for AdMob/AppLovin Capacitor plugins.
- Offline Persistence: Store progress, unlocked themes, and high scores in `localStorage` with clean JSON state versioning.
### 4. UI Flow, Procedural Audio & Delivery Contract
- Complete State Machine: Clean Title Screen (1-line visual rule hint) -> Active Gameplay (top HUD: Level / Score / Best + bottom Booster bar) -> Victory Modal (stars/bonus + Next Level) -> Game Over Modal (Rewarded-Ad Revive/Helper hook + instant 1-tap Retry).
- Built-in procedural **Web Audio API sound synthesizer** (tap feedback, ascending combo chime, level-clear fanfare, fail thud) with a top-right Mute toggle.
- Delivery Rule: Output complete, runnable code with zero placeholders, clean state separation, and tested win/loss edge cases ready to play right away.Originality notice: Prompts focus strictly on abstract genre mechanics, data structures, and procedural code. Always ship with your own original title, art, audio, and branding.
Data Model & Solvability Rules
Waypoint path array, `Enemy { hp, maxHp, speed, pathIdx, slowTimer }`, `Tower { slotIdx, tier, type, cooldown, range }`, `Projectile[]`, and wave spawn schedule.
Controls, Tactile Juice & Boosters
Visible range circle on tower select, crisp drag-to-merge snap highlight, hit flash + floating damage numbers, 1x/2x fast-forward toggle, and Emergency Gold Drop booster.
Progression & Retention Curve
10 structured waves introducing fast scouts (Wave 3), armored brutes (Wave 5), swarm rush (Wave 7), and a multi-phase Boss (Wave 10).
Recommended Stack & Target Platforms
HTML5 Canvas 2D (60fps fixed-timestep game loop)
Trending Tower Defense Reference Games on Live Charts (2)
Open any surging title below to inspect chart velocity, test-play a reference loop, and copy a tailored prompt.
Developer FAQ
Why is the Light Tower / Base Merge Defense archetype ideal for vibe coding a solo browser game?
Waves of enemies march along a clear winding path toward your base. Spend gold earned per kill to spawn Tier-1 turrets on grid pads, drag two identical turrets together to merge into stronger Tier-2/3/4 towers with distinct attack patterns (rapid, splash, slow), and survive 10 escalating waves + boss. Because its core loop relies on crisp rules and procedural 2D visuals rather than heavy 3D art pipelines, solo developers can vibe code a playable MVP in days with Cursor, Claude Code, Bolt.new, or Lovable.
What data model keeps a Tower Defense game solvable and bug-free?
Key architecture built directly into our starter prompt: Waypoint path array, `Enemy { hp, maxHp, speed, pathIdx, slowTimer }`, `Tower { slotIdx, tier, type, cooldown, range }`, `Projectile[]`, and wave spawn schedule.
How do top Tower Defense games drive retention and rewarded-ad conversion?
Combine tactile juice and opt-in boosters (Visible range circle on tower select, crisp drag-to-merge snap highlight, hit flash + floating damage numbers, 1x/2x fast-forward toggle, and Emergency Gold Drop booster.) with a structured difficulty curve (10 structured waves introducing fast scouts (Wave 3), armored brutes (Wave 5), swarm rush (Wave 7), and a multi-phase Boss (Wave 10).).