Dinosaurs Merge Master

Seele01-Flash
By
Dinosaurs Merge Master is a charming casual strategy game where you merge cute dinosaurs and warriors to build an unstoppable prehistoric army. Combine identical units to evolve stronger creatures and dominate the battlefield in this addictive merge adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Dinosaurs Merge Master". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly, vibrant cartoon style suitable for a hyper-casual audience. Use bright, saturated colors (greens for friendly dinos, reds/purples for enemies). * **Camera View:** Fixed Isometric or High-angle Perspective (Top-Down) to ensure the 5x8 grid arena is fully visible without occlusion. * **Environment:** A prehistoric desert arena. The ground should be a sandy texture with a clear checkerboard pattern (grid) for unit placement. Surround the arena with low-poly rocks, cliffs, or primitive fences to define boundaries. * **Unit Representation:** * **Dinosaurs (Melee):** Represented by robust shapes (e.g., green cubes or simplified T-Rex shapes). * **Warriors (Ranged):** Represented by slender shapes (e.g., blue cylinders or simplified Archers). * **Visual Feedback:** Use scaling tweens (bouncing effect) when a unit is spawned. Use particle explosions (confetti or dust) when two units merge. * **Mobile Optimization:** Use `BoxGeometry` and `CylinderGeometry` with simple `MeshLambertMaterials` to keep draw calls low. Implement instanced rendering if unit count exceeds 50. ### 2. Audio Requirements * **BGM:** A rhythmic, tribal drum beat with a lighthearted, adventurous tone. It should loop seamlessly. * **SFX:** * **Merge:** A distinct, high-pitched "Pop" or "Whistle" sound to provide positive reinforcement. * **Placement:** A soft "Thud" when a unit lands on the grid. * **Battle Start:** A horn blast or a loud "Gong". * **Combat:** Random pitch-shifted "Roars" and metal "Clinks" during the auto-battle phase. * **Win/Loss:** A cheerful fanfare for victory; a comedic "sad trombone" for defeat. ### 3. Gameplay Loop * **Preparation Phase (Merge Mechanics):** * Player starts with a grid (e.g., bottom 4x5 area). * **Buy Buttons:** Two UI buttons at the bottom to spawn Level 1 Dinosaurs or Warriors using Gold. * **Merge Logic:** Drag and drop a unit onto another unit of the **same type and level**. They combine into one unit of (Level + 1) with increased stats (HP, Damage, Size). * **Positioning:** Units can be dragged to any empty slot within the player's zone to arrange formations. * **Battle Phase (Auto-Combat):** * Player clicks "FIGHT". * Units automatically move towards the nearest enemy using simple pathfinding (direct line). * Melee units attack when adjacent; Ranged units attack from a distance. * Health bars float above units. * **Economy:** * Start with fixed gold. * Earn gold for defeating enemies. * Unit cost increases incrementally with each purchase. ### 4. Mobile Controls & Interaction * **Touch Input System:** * Implement a robust **Raycaster** system mapped to `touchstart`, `touchmove`, and `touchend` events. * **Drag & Drop:** When a player touches a unit, lift it slightly (y-axis offset) to show it's selected. Follow the finger position on the x/z plane. * **Snap-to-Grid:** On `touchend`, calculate the nearest grid center. If valid, snap the unit there. If invalid (occupied by non-mergeable unit), snap back to original position. * **Screen Orientation:** **Portrait Mode** (Vertical) is required to accommodate the player's army at the bottom and the enemy army at the top. * **UI Layout:** * "FIGHT" button: Large, centered, pulsing button (green) located between the grid and the upgrade menu. * Gold Counter: Top right corner, large legible font. * Buy Buttons: Large tap targets (minimum 44x44px equivalent) at the very bottom of the screen, clearly separated to prevent miss-clicks. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` (if supported) on a successful merge to enhance tactical 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

Dinosaurs Merge Master is an engaging casual strategy game that combines the addictive mechanics of merge gameplay with prehistoric adventure. In this colorful world, you'll strategically merge adorable dinosaurs and human warriors to create increasingly powerful units for epic battlefield confrontations.

The game features a delightful art style with cute, cartoonish dinosaurs that will appeal to players of all ages. Each merge creates stronger creatures with enhanced attack power and health, making every combination feel rewarding and progressive.

Core Features

Strategic Merge Mechanics

The heart of Dinosaurs Merge Master lies in its intuitive drag-and-drop merge system. Simply combine two identical units to create a more powerful version. This simple yet strategic gameplay creates endless possibilities for army composition and tactical planning.

Diverse Unit Collection

Discover and unlock a vast collection of prehistoric creatures and human warriors. From tiny herbivores to massive carnivorous dinosaurs, each unit brings unique characteristics to your army. The progression system ensures there's always a new, more powerful creature to unlock.

Dynamic Battlefield Combat

Watch your carefully crafted army face off against increasingly challenging opponents. The automated battle system lets you focus on strategy and unit placement while enjoying the spectacle of prehistoric warfare.

Progressive Difficulty System

As your army grows stronger, so do your enemies. The game continuously presents new challenges that require thoughtful merging strategies and tactical positioning to overcome.

Gameplay Mechanics

Army Building Strategy

Place your merged dinosaurs and warriors strategically on the battlefield grid. Each unit's position can impact the battle outcome, making placement decisions crucial for victory. Earn gold from successful battles to purchase additional units for your growing collection.

Evolution Through Merging

Every successful merge unlocks the potential for even stronger creatures. The evolution system rewards patient players who focus on creating super-powered units rather than maintaining large armies of weaker creatures.

Resource Management

Balance your spending between purchasing new base units and saving gold for strategic moments. As unit costs increase with each purchase, smart resource management becomes essential for long-term success.

How to Play

Basic Controls

  • Mouse : Drag and drop to merge identical units
  • Strategic Placement : Position units on the battlefield grid
  • Unit Purchase : Spend earned gold on new dinosaurs and warriors

Winning Strategies

  1. Focus on Merging : Combine identical units whenever possible to maximize power
  2. Strategic Positioning : Place stronger units in key battlefield positions
  3. Resource Balance : Save gold for crucial unit purchases
  4. Collection Building : Unlock new dinosaur types to expand tactical options

Why Play Dinosaurs Merge Master

This game perfectly combines relaxing casual gameplay with engaging strategic depth. The cute dinosaur theme makes it accessible to all ages, while the merge mechanics provide satisfying progression that keeps players coming back. Whether you have 5 minutes or an hour to play, Dinosaurs Merge Master offers the perfect prehistoric adventure.

The game runs smoothly on all devices without requiring downloads, making it ideal for quick gaming sessions anywhere. With its charming visuals, intuitive gameplay, and endless strategic possibilities, it's no wonder players find themselves completely absorbed in building their ultimate dinosaur army.

Frequently Asked Questions (FAQ)