Merge Army - Strategic Battle Arena Game

Seele01-Flash
By
Merge Army is an addictive strategic battle game where you build powerful armies by merging units. Combine identical fighters to create stronger warriors, unlock diverse military classes, and dominate intense arena battles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Merge Army". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly, hyper-casual aesthetic with a voxel-inspired look. Characters should be constructed from simple geometric shapes (cubes, cylinders) to minimize vertex count. * **Color Palette:** High contrast. **Player Army: Vibrant Blue**, **Enemy Army: Aggressive Red**. The background/arena floor should be a neutral, light grey grid (checkerboard pattern) to ensure units stand out. * **Unit Models:** * *Melee Units:* Boxy warriors with simple sword/shield attachments. * *Ranged Units:* Characters holding spears or miniature catapults. * *Boss/Giants:* Significantly larger scale (2x-3x normal size), distinct "crown" geometry, and emission materials (glowing eyes). * **Performance:** Use `THREE.InstancedMesh` for rendering the armies to reduce draw calls. This is critical for mobile performance when 50+ units are on screen. Use simple Lambert or Phong materials; avoid expensive PBR calculations. * **Effects:** simple particle systems for: * *Merge:* An explosion of stars/sparkles and a scaling "bounce" animation when two units combine. * *Impact:* dust clouds when giants stomp or projectiles hit. ### 2. Audio Requirements * **BGM:** An energetic, marching-band style orchestral loop. It should feel heroic but repetitive enough for long sessions without being annoying. * **Sound Effects (SFX):** * *Merge Action:* A satisfying, high-pitched "Pop" or "Ding" accompanied by a magical chime (essential for dopamine feedback). * *UI:* Crisp clicks for the "Buy Unit" button; a "Ka-ching" sound for spending/earning gold. * *Battle:* Clashing metal sounds, "whoosh" for projectiles, and heavy thuds for giant footsteps. * *Victory/Defeat:* A short brass fanfare for winning; a comedic "wah-wah" trombone for losing. ### 3. Gameplay Loop * **Phase 1: Preparation (Merge Phase):** * The player has a specific grid area (e.g., 5x4 tiles) to manage their army. * **Buy:** Player spends Gold to spawn a Level 1 unit on an empty tile. * **Merge:** Dragging a Level X unit onto another Level X unit combines them into one Level X+1 unit (visualized by size increase or color shift). * **Start:** A prominent "FIGHT" button initiates the battle. * **Phase 2: Battle Phase (Auto-Battler):** * The grid disappears/locks. Units use simple AI to find the nearest enemy. * *Movement:* Units move toward the target. * *Combat:* When in range, they play an attack animation (simple rotation/tweens). HP bars float above heads. * *Special:* Include a cooldown button for an "Asteroid/Fireball" strike that deals AOE damage to enemies. * **Victory Condition:** Eliminate all Red units. Reward: Gold. * **Failure Condition:** All Blue units eliminated. Reward: Small consolation Gold amount. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Portrait Mode (Vertical) is preferred for one-handed play. The camera should be a fixed isometric view (approx 45 degrees). * **Touch Controls:** * *Drag & Drop:* Raycasting from touch input to move units. Implements a "magnet/snap" effect so units naturally snap to the nearest grid tile when released. * *Merge Logic:* If dropped on a matching unit, trigger merge. If dropped on a non-matching unit, swap positions. * **UI Layout:** * *Top:* Level Progress Bar and Current Gold Count. * *Bottom (Safe Area):* Large, thumb-friendly buttons (min-height 60px). "Buy Unit" (Left) and "Start Battle" (Right). * *Ads/Bonus:* A "3x Gold" button appears on the Victory screen (placeholder logic). * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate(50)`) upon a successful merge interaction to enhance tactile feel. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Merge Army is a captivating 3D strategy battle game that combines tactical army building with engaging merge mechanics. Players start with basic military units and strategically merge them to create increasingly powerful fighters. The game features stunning 3D graphics, dynamic battle arenas, and a progression system that keeps you coming back for more strategic warfare.

The core gameplay revolves around the simple yet addictive concept of merging identical units to upgrade them. As you progress through battles, you'll earn gold to purchase new units, expand your army size, and unlock powerful new fighter classes including javelins, giants, and devastating catapults.

Core Features

Strategic Army Building

The heart of Merge Army lies in its intelligent merging system. Purchase units with your available resources, then strategically combine identical fighters to create more powerful versions. Each successful merge not only strengthens your unit but also frees up valuable space on your battlefield grid, allowing for larger and more diverse armies.

Diverse Unit Classes

As you advance through the game, you'll unlock an impressive roster of military units:

  • Basic Infantry : Your starting warriors, perfect for learning merge mechanics
  • Javelin Throwers : Ranged attackers with excellent precision
  • Giants : Massive units with incredible health and damage
  • Catapults : Siege weapons that devastate enemy formations
  • Specialized Fighters : Unique units with special abilities and combat roles

Each unit type has multiple evolution stages, creating deep strategic possibilities for army composition.

Dynamic Arena Combat

Battles take place in immersive 3D arenas where your carefully crafted army faces off against challenging opponents. The combat system is automated, allowing you to focus on pre-battle strategy and army optimization. Special abilities like devastating fireballs and asteroid attacks add tactical depth to encounters.

Gameplay Mechanics

Building Your Army

  1. Purchase Units : Use gold earned from victories to buy new fighters
  2. Strategic Placement : Position units on your battlefield grid
  3. Merge Identical Units : Drag identical units together to create stronger versions
  4. Optimize Formation : Arrange your army for maximum combat effectiveness

Battle System

Once your army is ready, enter the arena where battles unfold automatically. Your strategic decisions during army building directly impact combat outcomes. Successful battles reward gold and progression points, while defeats provide valuable learning opportunities.

Progression and Unlocks

Victories in the arena unlock new content: - Advanced unit types with unique abilities - Larger battlefield grids for bigger armies - Special weapons and power-ups - More challenging opponents and boss battles

Operation Guide

Controls : The game features intuitive drag-and-drop controls perfect for both desktop and mobile play: - Mouse/Touch : Drag units to merge them or reposition on the battlefield - Click/Tap : Select units and access menus - Interface : Clean, user-friendly menus for purchases and upgrades

Platform Compatibility : Merge Army runs smoothly on all modern web browsers, supporting both desktop computers and mobile devices without requiring any downloads or installations.

Why Play Merge Army

Addictive Strategic Gameplay

The combination of merge mechanics and tactical combat creates an incredibly engaging experience. Each battle presents new challenges that require thoughtful army composition and strategic thinking.

Free-to-Play Accessibility

Merge Army is completely free to play through your web browser. No downloads, registrations, or hidden fees - just pure strategic gaming entertainment accessible anywhere, anytime.

Perfect for All Skill Levels

Whether you're a strategy game veteran or new to tactical gaming, Merge Army offers an accessible learning curve with deep strategic depth. The intuitive merge mechanics are easy to learn but offer complex optimization possibilities.

Regular Content and Challenges

With multiple unit types, various battle scenarios, and boss encounters, the game provides hours of engaging content. The progression system ensures there's always a new goal to achieve or unit to unlock.

Cross-Platform Gaming

Play seamlessly across devices - start a campaign on your computer and continue on your mobile device. The responsive design ensures optimal gameplay experience regardless of your chosen platform.

Frequently Asked Questions (FAQ)