Merge & Dig! - Block Mining Adventure Game

Seele01-Flash
By
Merge & Dig! combines addictive merging mechanics with satisfying block mining gameplay. Upgrade your pickaxes, dig deep into colorful underground worlds, and collect precious ores in this engaging casual adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Merge & Dig!**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Voxel Art / Low-poly aesthetic similar to "Minecraft". Bright, high-saturation colors. * **Player Model**: A cubic character (Voxel style) composed of a head and body. The character should visually hold a pickaxe that changes appearance (size/color) based on its level. * **Environment (The Mine)**: * A grid-based map of breakable blocks (1x1x1 units). * **Block Types**: Create a tiered system: Dirt (Brown, low HP), Stone (Grey, medium HP), Gold (Yellow, high HP), and Diamond (Blue, very high HP). * **Performance Optimization**: Use `THREE.InstancedMesh` for rendering the hundreds of blocks to ensure smooth 60FPS on mobile devices. * **Visual Effects (VFX)**: * **Block Damage**: When a block takes damage, overlay a "cracking" texture or flash white. * **Destruction**: When a block is destroyed, spawn small cubic particle explosions (using a simple particle system) that match the block's color. * **Floating Text**: Show damage numbers popping up when digging. ### 2. Audio Requirements * **BGM (Background Music)**: An upbeat, looping "Chiptune" or "8-bit" style track that feels casual and energetic. * **Sound Effects (SFX)**: * **Digging**: A satisfying "crunch" or "impact" sound (randomize pitch slightly for variety). * **Block Break**: A crumbling stone sound. * **Collection**: A high-pitched coin/gem pickup sound. * **Merge**: A magical "power-up" or "ding" sound when two pickaxes are merged. ### 3. Gameplay Loop * **Core Mechanic**: 1. **Move & Dig**: The player moves the character into blocks. The character *automatically* attacks/digs the block in front of them based on attack speed. 2. **Collection**: Destroyed blocks drop "Gold" or "Resources" which magnetically fly to the player. 3. **Purchase & Merge**: * UI Panel at the bottom allows buying basic Pickaxes with Gold. * **Merge Logic**: Drag and drop identical pickaxes in a grid inventory to create a higher-level pickaxe. * **Equip**: The highest level pickaxe determines the player's mining damage. * **Progression**: Deeper layers of the map contain tougher blocks but yield more gold. * **Game Over/Win**: Endless mode. The goal is to reach the highest depth and obtain the legendary pickaxe. ### 4. Mobile Controls & Interaction * **Movement Control**: Implement a **Floating Virtual Joystick**. * The joystick appears wherever the user first touches the screen (excluding the UI area). * Dragging moves the character. Releasing stops movement. * **Screen Orientation**: **Portrait Mode** (Vertical) design to allow for a deep view of the mine and a comfortable bottom UI for merging. * **UI/UX**: * **Merge Grid**: A 3x3 or 4x2 grid fixed at the bottom of the screen. Interaction must support Touch Drag-and-Drop (TouchStart, TouchMove, TouchEnd). * **Buttons**: "Buy Pickaxe" button must be large (min 44px height) and thumb-friendly. * **Haptic Feedback**: Trigger `navigator.vibrate(10)` lightly when a block is destroyed to provide tactile satisfaction. 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 & Dig! is an exciting casual mining adventure that brings together the best of merge mechanics and block-breaking gameplay. Inspired by popular voxel-style games, this colorful underground adventure challenges you to dig deeper, merge smarter, and discover valuable treasures hidden beneath the surface.

The game features vibrant pixel art graphics with a charming Minecraft-inspired aesthetic, creating an instantly recognizable and appealing visual experience. Each level presents new challenges as you navigate through different geological layers, each containing unique ores and obstacles.

Core Features

Revolutionary Merge System

The heart of Merge & Dig! lies in its innovative pickaxe merging system. Start with basic tools and combine identical pickaxes to create more powerful mining equipment. Higher-tier pickaxes dig faster, break tougher blocks, and reveal rare materials that basic tools cannot access.

Deep Underground Exploration

Descend through multiple underground layers, each with distinct visual themes and block types. From common dirt and stone near the surface to precious diamonds and rare gems in the deepest caverns, every dig brings new discoveries and challenges.

Progressive Difficulty System

As you venture deeper, blocks become tougher and require more advanced pickaxes. This natural progression keeps gameplay engaging while rewarding players who invest time in upgrading their equipment through strategic merging.

Colorful Block-Based World

The game's pixel art style creates a visually striking underground environment. Golden blocks shimmer with treasures, while mysterious dark blocks hide special surprises. The vibrant color palette makes each mining session visually satisfying.

Gameplay Mechanics

Mining and Movement

Control your character using simple directional inputs to navigate the underground maze. Your character automatically mines blocks when moving into them, making the gameplay smooth and intuitive. The responsive controls work perfectly on both desktop computers and mobile devices.

Strategic Pickaxe Management

Success requires careful planning of your pickaxe inventory. Merge identical tools to create superior versions, but timing is crucial - merge too early and you might lack the quantity needed for challenging sections, merge too late and you'll waste time with inefficient tools.

Resource Collection and Progression

Every block you destroy yields valuable resources. Collect these materials to unlock new areas, purchase upgrades, and access special mining zones filled with rare treasures.

Operation Guide

Movement Controls: - WASD Keys : Move your character in four directions - Arrow Keys : Alternative movement option for different preferences - Mouse Control : Hold left mouse button and drag to move (especially convenient for mobile play)

Mining Mechanics: - Walk into blocks to automatically mine them with your equipped pickaxe - Different block types require different pickaxe levels to break - Collect dropped resources by walking over them

Merging System: - Drag identical pickaxes together to merge them into upgraded versions - Higher-tier pickaxes mine faster and can break tougher materials - Plan your merges strategically based on upcoming challenges

Why Play Merge & Dig!

Perfect for Casual Gaming : The game offers quick, satisfying sessions perfect for short breaks or extended play. The merge mechanics provide instant gratification while the mining progression offers long-term goals.

No Download Required : Play immediately in any modern web browser without installing software. The game runs smoothly on both desktop computers and mobile devices, making it accessible anywhere.

Engaging Progression : Unlike simple clicker games, Merge & Dig! requires strategic thinking about tool management while providing the satisfaction of destroying blocks and collecting treasures.

Relaxing Yet Challenging : The colorful graphics and smooth gameplay create a relaxing atmosphere, while the strategic merging and deeper levels provide plenty of challenge for dedicated players.

Free to Play : Enjoy the complete gaming experience without any payment required. All features and levels are accessible through gameplay progression.

Frequently Asked Questions (FAQ)