Block Clicker - Mining Clicker Game

Seele01-Flash
By
Block Clicker is an engaging mining clicker game where you build and manage your own mining empire. Extract various block types, upgrade your miners, and unlock achievements in this addictive pixel-style adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Block Clicker". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Isometric Pixel Art / Voxel style. Use an **Orthographic Camera** to strictly replicate the isometric perspective seen in the reference. * **Models**: Use simple `BoxGeometry` for blocks. Textures must use `magFilter = THREE.NearestFilter` and `minFilter = THREE.NearestFilter` to ensure the pixel art look remains crisp and not blurry. * **Block Types**: Create a base "Grass Block" (Green top, Brown sides) as seen in the screenshot. Prepare logic for future block types (Stone, Gold, Bedrock). * **Layout**: Generate a central "Island" composed of a grid (e.g., 6x6 or U-shaped) of blocks floating in a void or above a flat water plane. * **Lighting**: Use soft ambient lighting combined with a Directional Light to cast distinct, sharp shadows (no soft edges) to enhance the voxel aesthetic. * **Performance (Mobile)**: **Crucial**: Use `THREE.InstancedMesh` for rendering the blocks to maintain 60FPS on mobile devices, as there may be many blocks on screen. ### 2. Audio Requirements * **BGM (Background Music)**: A relaxing, looping "Lo-Fi" or "Ambient" track. It should be subtle, featuring soft acoustic guitar or synth pads to induce a "flow state." * **SFX (Sound Effects)**: * **Mining Tap**: A satisfying, crisp "Crunch" or "Pop" sound (ASMR-style) when the player taps a block. * **Block Break**: A higher-pitched, crumbling sound combined with a "Coin collect" chime when a block is fully destroyed. * **UI Interaction**: Soft wooden "clicks" for upgrading stats. ### 3. Gameplay Loop * **Core Mechanic**: Players tap (click) on 3D blocks to reduce their HP. When HP reaches 0, the block breaks. * **Economy & Upgrades**: * Breaking a block rewards "Coins." * **UI Panel**: A bottom-aligned menu allows players to spend Coins on: 1. **Pickaxe Power**: Increases damage per tap. 2. **Auto-Miners**: Automatically damages random blocks every second (Idle mechanic). * **Progression**: The goal is to clear the entire island. Once cleared, a "New Island" button appears, regenerating the grid with harder blocks (higher HP) and higher coin rewards. * **Visual Feedback**: * **On Tap**: The specific block instance should scale down slightly (elastic bounce) or flash white. * **On Break**: Spawn a simple particle system (small cubes exploding outward) and display a floating text number (e.g., "+$10"). ### 4. Mobile Controls & Interaction * **Touch Controls**: Use a `Raycaster` bound to `touchstart` (not just click) events for immediate responsiveness. Ensure the raycast accurately detects instances within the `InstancedMesh`. * **Orientation**: **Portrait Mode** optimized. * Top 70% of screen: The 3D Isometric View (Game World). * Bottom 30% of screen: The HTML/CSS Overlay UI for upgrades. * **UI UX**: Buttons for upgrades must be at least **44x44 pixels** (approx. thumb size). Place the most frequent actions in the "Thumb Zone" (bottom center). * **Haptic Feedback**: Trigger `navigator.vibrate(15)` on every tap (mining action) and `navigator.vibrate(50)` when a block breaks, giving the player physical feedback of the mining impact. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Block Clicker

Block Clicker is a captivating mining clicker game that puts you in control of your very own mining operation. This engaging pixel-style game combines the satisfaction of incremental progress with strategic resource management. As the head of a mining company, you'll work to enhance your miners' capabilities, extract valuable blocks, and clear entire islands while building a profitable mining empire.

The game features charming minimalist graphics that create an immersive experience without overwhelming visual complexity. Ambient audio cues complement the gameplay, providing satisfying feedback as you progress through your mining adventures.

Core Features

Progressive Mining System

Start with basic mining operations and gradually expand your capabilities. Each click extracts blocks from the terrain, generating resources that fuel your mining empire's growth. The more you mine, the more opportunities unlock for expansion and improvement.

Comprehensive Upgrade System

Invest in powerful upgrades that dramatically boost your productivity: - Miner Enhancements : Improve your workers' efficiency and speed - Equipment Upgrades : Unlock advanced tools for faster block extraction - Productivity Boosters : Multiply your earnings and extraction rates - Automation Features : Develop idle mining capabilities for continuous progress

Multiple Block Varieties

Discover and extract different types of blocks, each with unique properties and values. As you progress, unlock access to rare and valuable block types that provide greater rewards and open new strategic possibilities.

Achievement & Reward System

Complete challenging tasks and milestones to earn valuable rewards and prestigious achievements. The game tracks your progress across multiple categories, providing long-term goals and motivation to continue expanding your mining operations.

Island Exploration

Clear entire islands of blocks to unlock new mining territories. Each island presents unique challenges and opportunities, ensuring fresh gameplay experiences as you expand your mining empire.

Gameplay Mechanics

Block Clicker employs intuitive clicker mechanics that are easy to learn but offer deep strategic depth. Your primary interaction involves clicking to extract blocks, but the game evolves into a sophisticated resource management experience as you progress.

The idle gaming elements allow your mining operation to continue generating resources even when you're not actively playing, making it perfect for both active and passive gaming sessions.

Operation Guide

Basic Controls

  • Left Mouse Button : Primary interaction for all game elements
  • Click Blocks : Extract resources and clear terrain
  • Navigate Menus : Access upgrades, achievements, and game options
  • Purchase Upgrades : Improve mining efficiency and unlock new features

Strategic Tips

  • Focus on upgrading miner efficiency early for better long-term returns
  • Balance between active clicking and idle improvements
  • Complete achievements for bonus rewards and progression boosts
  • Clear islands systematically to unlock new mining opportunities

Why Play Block Clicker

Perfect for All Players : Whether you enjoy active clicking sessions or prefer idle progression, Block Clicker accommodates both playstyles seamlessly.

No Commitment Required : Play for minutes or hours - the game saves your progress automatically and continues working even when closed.

Completely Free : Enjoy the full gaming experience without any cost or hidden fees. No downloads, installations, or subscriptions required.

Universal Accessibility : Works perfectly on both desktop computers and mobile devices through any modern web browser.

Satisfying Progression : Experience the rewarding feeling of building something from scratch and watching your mining empire grow exponentially.

Block Clicker offers the perfect blend of casual accessibility and engaging depth, making it an ideal choice for both newcomers to clicker games and experienced players seeking their next addictive challenge.

Frequently Asked Questions (FAQ)