Merge Cannon: Chicken Defense

Seele01-Flash
By
Merge Cannon: Chicken Defense combines intense tower defense action with addictive merge mechanics. Protect your castle from endless waves of aggressive chickens by merging and upgrading powerful cannons in this chaotic defense experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Merge Cannon: Chicken Defense**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly 3D aesthetic with Toon Shading (Cel Shading) to mimic the vibrant, cartoonish look of the original 2D game. * **Camera:** Use an **Orthographic Camera** positioned at an isometric angle (e.g., 45 degrees) to ensure the merge grid is easy to interact with without perspective distortion. * **Key Assets:** * **The Grid:** A distinct 5x4 tile grid area at the bottom of the screen for placing and merging cannons. * **The Wall:** A fortified stone barrier on the left side of the screen separating the grid from the battlefield. * **Cannons:** Cube-shaped or cylindrical turrets. Different levels should be visually distinct (e.g., Lv1 is simple gray, Lv2 is blue, Lv10 is gold with double barrels). * **Enemies (Chickens):** Rounded, "blob-like" chicken models. Variants include: Standard (White), Viking (Helmet), and Knight (Armor). * **Background:** A scrolling green meadow with low-poly trees and a bright blue sky. * **Mobile Optimization:** Use **InstancedMesh** for the chicken swarm and projectiles to handle high unit counts (100+ entities) without FPS drops. Implement object pooling for projectiles. ### 2. Audio Requirements * **BGM:** A fast-paced, comedic orchestral track (Polka or Marching band style) that loops seamlessly. Speed increases slightly as waves get harder. * **Sound Effects (SFX):** * **Merge:** A satisfying metallic "Clink" or "Upgrade" chime. * **Shooting:** Soft "Pop" or "Pew" sounds (to avoid ear fatigue with rapid fire). * **Impact:** Comedic "Squawk" or "Bawk" sounds when chickens take damage or die. * **UI:** A "Cha-ching" register sound when buying cannons. ### 3. Gameplay Loop * **Core Mechanic (Merge):** The player purchases basic cannons which spawn on the grid. Dragging and dropping a Cannon (Level X) onto another Cannon (Level X) creates a new Cannon (Level X+1) with higher damage and fire rate. * **Combat Logic:** Cannons placed on the grid automatically detect enemies within range and fire. Projectiles must have travel time (physics-based trajectory). * **Enemy AI:** Waves of chickens spawn from the right edge of the screen and move linearly toward the Wall (left). * *Standard Chicken:* Low HP, medium speed. * *Armored Chicken:* High HP, slow speed. * *Runner Chicken:* Low HP, very fast speed. * **Win/Loss Condition:** * **Defeat:** If chickens reach the wall, they deal damage. If Wall HP reaches 0, Game Over. * **Progression:** Endless waves. Difficulty scales by increasing enemy HP and spawn rate over time. * **Economy:** Killing chickens grants Gold. Gold is used to buy more Level 1 cannons. The cost of cannons increases dynamically. ### 4. Mobile Controls & Interaction * **Touch Input (Raycasting):** * **Drag & Drop:** Implement a robust Raycaster for touch events. Users drag a cannon model to another tile. Provide a "ghost" preview of where the cannon will land. * **Prevention:** Prevent dragging cannons during the "Upgrade" animation to avoid glitches. * **UI Layout (Portrait Mode Recommended):** * **Top:** Wave progress bar and Wall Health bar. * **Middle:** The Battlefield (where chickens march). * **Bottom:** The 5x4 Merge Grid. * **Footer:** Large, thumb-friendly "Buy Cannon" button (minimum 60px height). * **Feedback:** * **Haptic:** Trigger a light vibration (using `navigator.vibrate`) when a merge is successful or the wall takes damage. * **Visual:** Screen shake effect when the wall is hit. Floating text numbers for gold earned and damage dealt. 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 Cannon: Chicken Defense is a unique tower defense game that blends fast-paced action with strategic merging gameplay. Face off against relentless armies of cartoon chickens determined to destroy your castle walls. This free browser game challenges you to think quickly and merge smartly as waves of feathered enemies grow increasingly aggressive.

Unlike traditional tower defense games, Merge Cannon requires constant weapon upgrades through merging identical cannons. The chicken assault never stops, creating a frantic gameplay loop that keeps you on the edge of your seat. With colorful cartoon graphics and addictive mechanics, it's perfect for players who enjoy both strategy and action.

Core Features

This tower defense experience offers several compelling gameplay elements:

Dynamic Merge System

The heart of the game lies in its innovative merging mechanics. Combine identical cannons to create more powerful weapons. Start with basic guns and work your way up to devastating artillery capable of stopping entire chicken battalions.

Endless Wave Survival

Face unlimited waves of increasingly difficult chicken enemies. Each wave brings new challenges, forcing you to adapt your defense strategy and upgrade your arsenal continuously.

Strategic Shop System

Access a comprehensive weapon shop to purchase new cannons and defensive upgrades. Unlock advanced weaponry as you level up, expanding your tactical options against the chicken invasion.

Castle Defense Mechanics

Protect your castle wall at all costs. Upgrade your defenses and maintain strong barriers while managing your cannon placements for maximum effectiveness.

Gameplay Mechanics

Merging Strategy

Success depends on smart merging decisions. Higher-level cannons deal significantly more damage, but reaching advanced merge levels requires careful resource management. Plan your merges during calmer moments between waves.

Weapon Variety

Discover multiple cannon types, each with unique firing patterns and damage capabilities. Experiment with different combinations to find the most effective defense setup for your playstyle.

Progressive Difficulty

The chicken waves become more challenging over time, introducing new enemy types and increasing spawn rates. Adapt your strategy and upgrade paths to handle the escalating threat.

Operation Guide

Master the simple yet engaging controls:

  • Mouse Control : Navigate all game functions using your mouse
  • Drag and Drop : Merge cannons by dragging identical weapons together
  • Click to Purchase : Buy new weapons and upgrades from the shop interface
  • Strategic Placement : Position cannons along your defense line for optimal coverage

Survival Tips

  • Prioritize merging over quantity - fewer high-level cannons outperform many weak ones
  • Monitor your wall health and repair when necessary
  • Save resources for emergency weapon purchases during intense waves
  • Experiment with cannon positioning to maximize coverage areas

Why Play This Game

Merge Cannon: Chicken Defense stands out in the crowded tower defense genre through its unique combination of merge mechanics and non-stop action. The game offers:

Immediate Accessibility : Jump in instantly through any web browser without downloads or installations. The simple mouse controls make it perfect for quick gaming sessions.

Addictive Progression : The merge system creates satisfying upgrade moments while the endless wave format provides unlimited replayability.

Strategic Depth : Despite its cartoon appearance, the game requires genuine tactical thinking to survive higher waves and achieve optimal cannon combinations.

Cross-Platform Fun : Play seamlessly on desktop computers, tablets, and mobile devices through your browser.

Whether you're a tower defense veteran or new to merge games, this title offers an engaging challenge that's easy to learn but difficult to master. The combination of cute chicken enemies and serious strategic gameplay creates an experience that's both entertaining and mentally stimulating.

Frequently Asked Questions (FAQ)