Crazy Miners - Fast-Paced Diamond Mining Battle Game

Seele01-Flash
By
Crazy Miners is an exciting fast-paced mining battle game where players race to find hidden diamonds deep underground. Dig through terrain, avoid deadly traps, and use TNT strategically to claim victory!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Crazy Miners**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Voxel/Blocky aesthetic (reminiscent of Minecraft but in a side-scrolling perspective). Use simple geometric primitives (BoxGeometry) for characters and terrain to ensure high performance on mobile devices. * **Terrain Generation:** Create a vertical slice of terrain using `InstancedMesh` for performance optimization (crucial for mobile). The world should be a grid of blocks: * **Surface:** Grass blocks and a bright blue background with low-poly white clouds. * **Underground:** Layers of dirt (brown), stone (grey, harder to break), and random ore deposits. * **Hazards:** Lava blocks at the very bottom or in pockets (emissive red/orange material). * **Character:** A blocky miner character consisting of a head, body, and pickaxe. The character should have simple rotation animations when moving or digging. * **Goal Asset:** A large, spinning, glowing blue Diamond hidden deep within the map (utilize `MeshStandardMaterial` with high roughness and emissive properties for a shiny look). * **Particles:** Simple square particles that emit when blocks are destroyed or TNT explodes. ### 2. Audio Requirements * **BGM:** Fast-paced, upbeat 8-bit or Chiptune track that loops seamlessly to maintain high energy. * **Sound Effects (SFX):** * **Digging:** A crunchy "stone breaking" sound (varied pitch to prevent repetition). * **Jetpack:** A continuous "whoosh" or thrust noise when the jump button is held. * **TNT:** A fuse hiss sound followed by a bass-heavy explosion. * **Collection:** A high-pitched magical chime when fragments or the final diamond are collected. * **UI:** Click/Tap sounds for buttons. ### 3. Gameplay Loop * **Start:** Player spawns on the surface grass. * **Action:** The player digs downwards by destroying blocks. * **Digging:** Touching or moving into a destructible block destroys it. * **Jetpack:** The player has limited vertical flight to escape pits or reach higher platforms. * **TNT:** Player can throw TNT blocks that obey simple physics (gravity arc) and explode after 2 seconds, destroying a 3x3 radius of blocks. * **Survival:** Avoid falling into Lava (instant game over) or getting caught in TNT explosions. * **Win Condition:** Locate and touch the Giant Diamond hidden at the bottom of the map. Upon winning, trigger a confetti particle effect and a "Victory" UI overlay. ### 4. Mobile Controls & Interaction * **View:** Side-scrolling camera that follows the player smoothly (Lerp). Lock the Z-axis. * **Touch Controls (HTML Overlay):** * **Left Zone:** A dynamic virtual Joystick or D-Pad for movement (Left/Right) and Digging (Down). * **Right Zone:** * **Jump/Jetpack Button:** Large circular button. Tap to jump, hold to activate jetpack logic (apply upward velocity). * **TNT Button:** Smaller button near the jump button to spawn a TNT projectile. * **Touch Optimization:** Ensure `touch-action: none` is applied to the canvas to prevent scrolling. All buttons must have a minimum touch target size of 44x44px. * **Feedback:** * **Visual:** Flash the character white briefly when taking damage (if applicable). * **Haptic:** Trigger `navigator.vibrate(50)` when breaking a block and `navigator.vibrate(200)` when TNT explodes. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Crazy Miners is an adrenaline-pumping 2D mining battle game that combines fast-paced action with strategic digging gameplay. In this thrilling underground adventure, players compete to be the first to discover the precious diamond hidden deep within each map. With its colorful cartoon graphics and intense competitive gameplay, Crazy Miners delivers an engaging mining experience that keeps players coming back for more.

The game features a unique blend of platforming, survival, and competitive elements that set it apart from traditional mining games. Each match is a race against time and other players as you navigate through destructible terrain, dodge dangerous traps, and use explosive tactics to gain the upper hand.

Core Features

Fast-Paced Competitive Mining

Unlike passive mining games, Crazy Miners emphasizes speed and competition. Every second counts as you race against other miners to locate the hidden diamond first. The game's fast-paced nature keeps the excitement level high throughout each match.

Dynamic Terrain Destruction

The fully destructible 2D environment allows for creative digging strategies. Carve your own path through the terrain, create shortcuts, or block opponents' routes. The terrain destruction mechanics add a tactical layer to the frantic mining action.

TNT Combat System

Strategically use TNT explosives to clear large areas quickly or sabotage other players' progress. The TNT system adds an element of combat and strategy, allowing skilled players to gain significant advantages through clever explosive placement.

Customization and Progression

Collect diamond fragments during gameplay to unlock new character skins and powerful upgrades. The progression system provides long-term goals and allows players to personalize their mining experience with unique visual customizations.

Cross-Platform Compatibility

Enjoy seamless gameplay across desktop and mobile devices. The game features optimized controls for both platforms, ensuring an excellent experience whether you're playing on a computer or smartphone.

Gameplay Mechanics

Core Mining Mechanics

Players control colorful miner characters equipped with digging tools and jetpacks. The objective is simple: dig through the underground terrain to locate and claim the hidden diamond before other players. However, the execution requires skill, strategy, and quick reflexes.

Trap Avoidance and Survival

The underground world is filled with dangerous traps and hazards that can eliminate careless miners. Players must carefully navigate through the terrain while maintaining speed, balancing risk and reward with every dig.

Resource Collection

Beyond the main diamond objective, players can collect diamond fragments scattered throughout the map. These fragments serve as currency for unlocking new content and upgrading equipment.

Operation Guide

Desktop Controls

  • Arrow Keys : Move your miner character in all directions
  • Arrow Keys + Direction : Dig through terrain while moving
  • Arrow Keys (Up) : Activate jetpack for aerial movement and jumping
  • Spacebar : Throw TNT explosives to clear terrain or hinder opponents

Mobile Controls

  • On-Screen Directional Pad : Navigate your character through the underground world
  • Dig Button : Break through terrain blocks in your path
  • Jump Button : Use jetpack to reach higher areas or avoid hazards
  • TNT Button : Launch explosive TNT for terrain clearing or strategic combat

Winning Strategies

  • Plan your digging route efficiently to minimize travel time
  • Use jetpack strategically to access hard-to-reach areas
  • Collect diamond fragments while pursuing the main objective
  • Deploy TNT tactically to create shortcuts or slow down competitors
  • Watch for trap patterns and learn safe navigation routes

Why Play Crazy Miners

Perfect for Quick Gaming Sessions

With its fast-paced matches and immediate action, Crazy Miners is ideal for players seeking exciting gameplay in short time periods. Each game provides intense entertainment without requiring long time commitments.

Skill-Based Competition

The game rewards quick thinking, strategic planning, and precise execution. Players can continuously improve their mining techniques and develop new strategies for different map layouts.

Free and Accessible

Crazy Miners is completely free to play with no hidden costs or pay-to-win mechanics. All content can be unlocked through gameplay, ensuring fair competition for all players.

Regular Content Updates

The game features fresh content and new challenges, keeping the mining adventure exciting and engaging over time. New maps, skins, and gameplay features are regularly added to enhance the experience.

Social Gaming Experience

Compete against friends or make new ones in this multiplayer mining adventure. The competitive nature of Crazy Miners creates memorable gaming moments and encourages friendly competition.

Frequently Asked Questions (FAQ)