Front Line - Strategic War Tower Defense Game

Seele01-Flash
By
Front Line is an intense military strategy game that combines tactical warfare with tower defense elements. Command your forces, plan strategic assaults, and defend your territory in challenging real-time battles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Front Line". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A "Living Tactical Map" or "Toy Soldier" aesthetic. Low-poly 3D graphics to ensure high performance on mobile devices (60 FPS target). * **Camera**: Isometric top-down view (fixed angle), simulating a general overlooking a battlefield. * **Terrain**: A grid-based battlefield texture representing a war zone (green grass, mud patches, craters). A distinct "No Man's Land" separates the Player Base (left/bottom) and Enemy Base (right/top). * **Units**: * **Player Units (Green Team)**: Represented by stylized low-poly geometries (e.g., Cylinders for Infantry, Cubes/Rectangles for Tanks) in olive green. * **Enemy Units (Red Team)**: Same geometries but in dark red or grey to distinguish clearly on small screens. * **Effects**: Simple particle explosions for unit deaths, muzzle flash particles for shooting, and a floating health bar billboarded above each unit. ### 2. Audio Requirements * **BGM**: A driving, military-style orchestral track with marching snares and low brass to build tension. * **Sound Effects (SFX)**: * **Unit Spawn**: A radio static noise or a whistle sound. * **Gunfire**: distinct sounds for Riflemen (light pop) vs. Tanks (heavy boom). * **Impact**: Metallic thud or squish sounds depending on the target. * **UI Feedback**: A crisp mechanical "click" sound when selecting units. ### 3. Gameplay Loop * **Core Mechanism**: "Tug of War" / Lane Defense strategy. * **Resource System**: The player earns "War Funds" automatically over time (e.g., +5 per second) and upon killing enemies. * **Deployment**: Player taps UI buttons to spend funds and deploy units (Infantry, Jeep, Tank) from their base. * **Unit Logic**: Once deployed, units automatically move forward along the lane toward the enemy base. They stop to attack if an enemy enters their range. * **Victory/Defeat**: The game ends when the health of the Enemy HQ reaches 0 (Victory) or the Player HQ reaches 0 (Defeat). * **Difficulty**: "Hard" mode logic – Enemy spawn rate increases progressively as time passes. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape mode is mandatory for a wider view of the battlefield. * **UI Layout**: * **Deployment Bar**: A row of large, touch-friendly buttons (min-height 60px) at the bottom of the screen representing different units with their costs displayed clearly. * **Info HUD**: Top-left corner showing "Funds", Top-center showing Base Health bars. * **Touch Interaction**: * **Tap**: Buttons have an "active state" visual feedback (scale down slightly or change color) to confirm touch input instantly. * **Camera Pan**: Allow one-finger drag to pan the camera slightly left/right if the battlefield exceeds the screen width. * **Feedback**: Trigger `navigator.vibrate(10)` (if supported) when a unit is successfully deployed or a base takes damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Front Line is a comprehensive military strategy game that puts you in command of tactical warfare operations. With a solid 4.0/5 rating from nearly 2,000 players, this free browser-based game delivers deep strategic gameplay where every decision matters. Combine the excitement of real-time combat with the tactical depth of tower defense mechanics as you conquer enemy territories and defend your homeland.

Core Features

Strategic Military Warfare

Experience realistic military combat with sophisticated unit deployment systems. Plan your assaults carefully, choosing from various military units each with unique strengths and tactical applications. The game rewards strategic thinking over mindless action.

Real-Time Reinforcement System

Adapt to changing battlefield conditions with dynamic reinforcement capabilities. Deploy additional units mid-battle, respond to enemy movements, and adjust your strategy in real-time as situations evolve.

Progressive Campaign System

Conquer multiple enemy territories in an engaging campaign mode. Each victory earns you resources to upgrade your arsenal and unlock more powerful military units for future battles.

Challenging Difficulty

Designed for strategy enthusiasts who enjoy complex tactical challenges. The game's "Hard" difficulty rating ensures that victory requires careful planning, resource management, and tactical expertise.

Complete Free-to-Play Experience

Enjoy the full strategic warfare experience without any cost. No hidden fees, no premium content - just pure strategic gaming accessible through your web browser.

Gameplay Mechanics

Front Line blends traditional real-time strategy with tower defense elements. You'll select enemy territories to assault, then carefully plan your attack using available military units. The key to success lies in understanding unit strengths, terrain advantages, and timing your reinforcements effectively.

The economic system rewards successful battles with currency that can be invested in stronger units and defensive structures. Balance offensive campaigns with homeland defense to maintain strategic superiority.

Operation Guide

Basic Controls

  • Mouse Controls : Primary interface for all game interactions
  • Unit Selection : Click to select and deploy military units
  • Strategic Planning : Use the tactical map to plan assault routes
  • Resource Management : Monitor and allocate battle earnings wisely

Combat Strategy Tips

  • Study enemy defenses before launching attacks
  • Diversify your unit composition for tactical flexibility
  • Time reinforcements to exploit enemy weaknesses
  • Prioritize economic buildings to fund larger armies
  • Maintain defensive positions while expanding territory

Why Play Front Line

Front Line stands out in the crowded strategy game market by offering genuine tactical depth without overwhelming complexity. The game respects your intelligence as a strategist while providing immediate browser-based accessibility. Whether you're a veteran of military strategy games or new to the genre, Front Line offers scalable challenge and rewarding gameplay progression.

The combination of offensive campaigns and defensive operations creates a well-rounded strategic experience that keeps players engaged across multiple gaming sessions. With no download required and complete cross-platform compatibility, you can command your forces anywhere, anytime.

Frequently Asked Questions (FAQ)