Endless Siege 2

Seele01-Flash
By
Endless Siege 2 revolutionizes tower defense with innovative card deck mechanics. Face endless waves of colorful invaders on daily changing maps while strategically deploying towers from your card collection.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Endless Siege 2 (Deck-Building Tower Defense)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Vibrant, cartoon-fantasy low-poly aesthetic. Use bright, saturated colors (lush green grass, bright blue sky, team colors for units). * **Map Generation**: A tile-based grid system (16x9 aspect ratio). The map should feature a procedural "Path" (dirt texture) winding through "Grass" tiles. Background should feature low-poly mountains and clouds to give depth. * **Tower Models**: * *Ballista*: Wooden base, spinning top, shoots arrows (yellow trails). * *Cannon*: Stone base, heavy impact, shoots cannonballs (arcing physics). * *Torch/Mage*: Blue/Magical base, shoots fire or energy bolts. * *Slow Trap*: Ice-themed texture, slows enemies passing over. * **Enemy Models**: * *Grunt*: Green skinned Orcs, small, fast. * *Tank*: Red skinned Demons/Ogres, large, slow, high HP. * **Mobile Optimization**: Use `InstancedMesh` for floor tiles, enemies, and projectiles to maintain 60 FPS on mobile devices. Use simple `MeshLambertMaterial` or custom Toon Shaders to reduce lighting calculation costs. Limit shadow casting to the main light source (Directional Light). ### 2. Audio Requirements * **BGM**: An upbeat, orchestral medieval fantasy track with a marching rhythm (snare drums and brass). It should loop seamlessly. * **Sound Effects (SFX)**: * *UI*: Paper "swish" sound when drawing/selecting cards. crisp "click" for buttons. * *Placement*: A heavy "thud" and dust particle sound when a tower is placed on the map. * *Combat*: "Twang" for arrows, "Boom" for cannons, "Splat" or "Grunt" when enemies die. * *Economy*: A satisfying "Ching" coin sound when an enemy is defeated. ### 3. Gameplay Loop * **Deck-Building Mechanic**: Instead of a traditional shop, the player has a "Hand" of 4 cards at the bottom of the screen. Each card represents a Tower. * Cards cost "Gold" to play. * Playing a card consumes it and draws a new one from the deck (after a cooldown or gold payment). * **Wave System**: Enemies spawn from a "Start Portal" and move along the predefined path towards the "Base". * **Combat Logic**: Towers auto-target the *First* enemy in range. * Towers have specific stats: Range, Fire Rate, Damage. * **Economy & Upgrades**: * Player starts with limited Gold and Lives. * Killing enemies grants Gold. * Clicking an existing tower opens a context menu to "Upgrade" (increase stats) or "Sell". * **Win/Loss Condition**: The game is an "Endless" survival mode. Game Over occurs when player Lives reach 0. The goal is to maximize the Score (Waves Survived). ### 4. Mobile Controls & Interaction * **Orientation**: Landscape Mode (force horizontal layout for wider map view). * **Card Drag-and-Drop**: * Implement a Drag-and-Drop system for the UI Cards. * When dragging a card over the map, perform a Raycast to the grid. * **Visual Feedback**: Show a "Ghost" model of the tower on the grid. * Color the Ghost **Green** if the tile is buildable. * Color the Ghost **Red** if the tile is obstructed (path or obstacle). * Render a semi-transparent ring around the Ghost to visualize the **Tower Range**. * **Touch Optimizations**: * Hit areas for cards and towers should be larger than the visual models (at least 44x44 pixels equivalent) to accommodate fat-finger touches. * Prevent camera panning/zooming while dragging a card to avoid input conflict. * **Haptic Feedback**: Trigger a short vibration (`navigator.vibrate(20)`) when a tower is successfully placed or an upgrade is purchased. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Endless Siege 2 takes the beloved tower defense genre to exciting new heights by introducing a revolutionary card deck system. This innovative strategy game challenges players to defend against endless waves of vibrant, cartoon-style invaders using towers drawn from a strategic card collection. Each day brings a completely new map layout, ensuring fresh challenges and requiring adaptive tactical thinking.

The game features charming 3D graphics with colorful orc-like enemies and diverse tower types, creating an engaging visual experience that appeals to both casual and hardcore strategy fans. Unlike traditional tower defense games, your defensive options are determined by the cards you draw, adding an element of resource management and strategic planning that keeps every session unique.

Core Features

Revolutionary Card Deck System

The standout innovation of Endless Siege 2 is its card-based tower deployment mechanism. Instead of having unlimited access to all tower types, players must strategically use towers drawn from their deck. This creates meaningful decisions about when to play powerful cards versus saving them for critical moments.

Daily Map Challenges

Every day presents a completely new battlefield layout, preventing players from memorizing optimal strategies. This daily rotation system ensures long-term engagement and forces players to adapt their tactics to different terrain configurations and chokepoints.

Endless Wave Progression

Face increasingly difficult waves of enemies with no predetermined endpoint. The goal is survival and achieving the highest possible score, creating a compelling arcade-style experience that rewards both skill and endurance.

Strategic Upgrade System

Purchase upgrades and enhancements during gameplay to strengthen your defenses. The upgrade system allows for tactical adaptation as enemy waves become more challenging, requiring players to balance immediate needs with long-term strategy.

Cross-Platform Accessibility

Optimized for both desktop and mobile browsers, ensuring smooth gameplay across all devices. The intuitive mouse controls make tower placement precise and satisfying on any platform.

Gameplay Strategy

Understanding the Card Mechanics

Success requires mastering the card system's rhythm. Monitor your deck carefully and plan several moves ahead. Sometimes holding onto a powerful tower card for the right moment is more valuable than placing it immediately.

Map Analysis

Each new daily map requires quick assessment of optimal chokepoints and tower placement zones. Look for areas where enemies cluster naturally and position area-effect towers accordingly.

Wave Management

Early waves allow for economic building and strategic positioning. Use these easier encounters to establish a strong foundation before the difficulty escalates significantly.

Operation Guide

Basic Controls

  • Mouse Click : Select and place towers from your available cards
  • Drag and Drop : Position towers precisely on valid placement areas
  • Right Click : Cancel tower placement or access contextual options
  • Hover : Preview tower stats and placement range before committing

Strategic Placement Tips

  1. Prioritize Chokepoints : Place high-damage towers where enemies naturally funnel together
  2. Layer Your Defenses : Combine different tower types for maximum effectiveness
  3. Economic Balance : Invest in resource-generating towers early for sustained growth
  4. Upgrade Timing : Enhanced existing towers often provide better value than new placements

Why Play This Game

Endless Siege 2 offers a perfect blend of accessibility and depth that appeals to strategy enthusiasts of all skill levels. The innovative card deck system prevents the gameplay staleness common in traditional tower defense games, while daily map rotations ensure you'll never run out of fresh challenges.

The game's free-to-play model with no download requirements makes it incredibly accessible. Whether you have five minutes or several hours, the endless wave format accommodates any play session length. The colorful, family-friendly art style makes it suitable for players of all ages, while the strategic depth satisfies hardcore tower defense fans.

For mobile users, the touch-optimized interface provides console-quality strategy gaming without device storage concerns. The daily challenge system creates natural return incentives, building a habit of engagement that rewards consistent play with mastery of increasingly complex tactical scenarios.

Frequently Asked Questions (FAQ)