Mr. Mine - Mining Empire Building Game

Seele01-Flash
By
Mr. Mine is an addictive idle mining clicker game where you build a massive mining empire from scratch. Dig deep into Earth's core, extract valuable minerals, and upgrade from simple shovels to supernatural excavators.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Mr. Mine 3D: Vertical Empire**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A **2.5D "Ant Farm" Cross-Section** view. The game world renders as a vertical slice of the earth. Use a **Low-Poly / Voxel art style** for maximum mobile performance and a charming aesthetic. * **Camera:** Fixed perspective Orthographic camera that looks directly at the mine shaft, allowing for vertical scrolling (pan) as the mine gets deeper. * **Environment Layout:** * **Surface:** Blue sky, green grass, a selling station building, and the mine entrance. * **Underground Layers:** Procedurally generated layers that change color and texture every 100 meters (Dirt -> Stone -> Granite -> Magma -> Moon Rock). * **The Shaft:** A central elevator shaft with horizontal tunnels branching out left and right where miners work. * **Assets:** * **Miners:** Simple low-poly characters with distinct gear (starts with a shovel, upgrades to jackhammers, drills, and eventually glowing alien meshes). * **Minerals:** Cube geometries representing Coal, Copper, Gold, Diamond. Use `THREE.InstancedMesh` for rendering hundreds of mineral blocks to ensure 60 FPS on mobile devices. * **Particles:** Dust clouds when drilling, sparkling effects for "Hidden Gems" or rare chests. * **Lighting:** Gradient background color that darkens as depth increases. Point lights attached to miner helmets and standing lanterns. ### 2. Audio Requirements * **BGM:** A rhythmic, industrial "work song" loop. Starts with acoustic instruments (banjo/whistling) near the surface and transitions to ambient, echoey synth sounds as the player digs into deep earth and alien layers. * **Sound Effects (SFX):** * **Mining:** Distinct "clink" for pickaxes, "buzz" for drills. Pitch variation on each hit to prevent audio fatigue. * **UI:** Satisfying "Ka-ching" cash register sound when selling resources. A heavy "thud" when placing new mining rigs. * **Alerts:** A warning buzzer/siren when Cargo Capacity reaches 100% (production halt). * **Chests:** A magical "reveal" chime when opening treasure chests. ### 3. Gameplay Loop * **Core Mechanic:** The game is an endless vertical scroller. * **Automated Mining:** Hired workers generate resources per second (Idle gameplay). * **Active Interaction:** Player taps on specific rare minerals or chests to collect them instantly. * **Capacity Logic:** A "Cargo Meter" fills up as resources are mined. If it hits 100%, miners stop working. The player must click "Sell" to empty the cargo and convert resources to Cash. * **Progression System:** * **Cash:** Used to hire more miners, upgrade tools (Shovel -> Drill -> Nuke), and increase Cargo Capacity. * **Depth:** Reaching specific depths (e.g., 1032km) triggers a texture swap (Earth to Moon) and unlocks new resource types. * **Boss Battles:** At specific depths (e.g., km 400), a Boss Golem appears blocking the shaft. The game switches to a rapid-tapping mode where the player must deplete the boss's health bar before time runs out. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode (Vertical)** is mandatory to emphasize depth and allow one-handed play. * **Controls:** * **Scroll:** Swipe up/down anywhere on the screen to navigate the mine shaft. * **Interact:** Raycaster tap detection. Tapping a mineral block breaks it instantly. Tapping a chest opens it. * **UI/HUD:** * **Bottom Dock (Thumb Zone):** Large buttons for [Sell Resources], [Upgrade Drill], [Hire Miner]. Minimum button size 44x44px. * **Top Bar:** Displays Current Depth, Cash, and Cargo Capacity %. * **Feedback:** * **Haptic:** Trigger `navigator.vibrate(50)` on every manual mine tap and a heavy vibration when a Boss appears. * **Visual Feedback:** Floating Text (+1 Gold, +$500) rising from the collection point. * **Capacity Warning:** When capacity > 90%, the "Sell" button should pulse red to attract attention. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Mr. Mine is a captivating idle mining clicker arcade game that challenges you to build the ultimate mining empire from the ground up. Starting with nothing but determination and a simple shovel, you'll drill deep into the Earth's crust to extract valuable minerals, hidden treasures, and precious resources that fuel your growing business empire.

Unlike typical idle games that run completely in the background, Mr. Mine demands active participation, creating an engaging blend of idle mechanics and interactive gameplay. Your mining adventure spans three incredible worlds, from Earth's surface down to the mysterious depths of Titan, offering over 1,132 kilometers of mining opportunities.

Core Features

Deep Mining Adventure

Your mining journey takes you through three distinct worlds: - Earth : Mine up to 1,032 km deep, discovering rich mineral deposits and ancient treasures - Moon : Explore depths from 1,032 to 1,132 km with unique lunar resources - Titan : Venture beyond 1,132 km into supernatural territories with otherworldly rewards

Progressive Tool Upgrades

Start your mining career with a humble shovel and work your way up through increasingly powerful equipment: - Basic shovel for surface-level mining - Jackhammer for improved efficiency - Advanced drilling equipment - Nuclear excavator for massive operations - Supernatural upgrades featuring alien and demon workers

Quest System and Challenges

Complete 112 unique quests that provide valuable rewards and unlock new features. Each quest challenges different aspects of your mining operation, from reaching specific depths to encountering mysterious creatures like the Golem at 50km depth.

Active Gameplay Elements

While your miners work automatically, you'll need to: - Click on special stones and rare minerals for bonus rewards - Battle six challenging Earth bosses encountered at various depths - Manage resource capacity to prevent mining operations from stopping - Make strategic decisions about selling vs. upgrading

Game Mechanics

Resource Management

Efficient resource management is crucial to success. Monitor your storage capacity closely - when it reaches 100%, your miners stop working. Balance selling resources for immediate profit against using them for upgrades and expansion.

Treasure Discovery

The deeper you dig, the more valuable treasures you'll discover. Treasure chests contain randomized rewards ranging from modest amounts to vast fortunes, keeping every mining session exciting and unpredictable.

Building Materials and Upgrades

Collect building materials from caves, chests, and excavations to construct and upgrade your mining facilities. Strategic upgrades dramatically increase your mining efficiency and unlock new capabilities.

Operation Guide

Basic Controls : Use your left mouse button to interact with the game interface, click on special items, and manage your mining operations.

Getting Started : Begin by clicking to mine manually, then use your earnings to hire workers and upgrade equipment. Focus on reaching deeper levels to unlock better rewards and new challenges.

Resource Strategy : Balance immediate sales with long-term upgrades. Selling resources provides quick cash flow, while upgrades increase your long-term earning potential.

Quest Completion : Prioritize completing quests as they provide valuable rewards and unlock new features that significantly enhance your mining capabilities.

Why Play Mr. Mine

Mr. Mine offers the perfect blend of idle gaming convenience and active engagement. Whether you prefer hands-on clicking sessions or letting your mining empire run in the background, the game adapts to your playstyle. The progression system provides constant goals and achievements, while the three-world system ensures hundreds of hours of content.

The game is completely free to play and works seamlessly across all devices - desktop, mobile, and tablet browsers. With regular updates and a thriving community, Mr. Mine continues to evolve and expand, offering new content and challenges for both casual players and mining tycoons.

Frequently Asked Questions (FAQ)