Black - Color Logic Puzzle Game

Seele01-Flash
By
Black is an innovative color-based logic puzzle game that challenges players to turn the entire screen black across 25 uniquely designed levels. Each level presents its own logic system, requiring creative thinking and strategic problem-solving.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Black - The Puzzle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Extreme Minimalism / Monochrome. The aesthetic must rely strictly on High Contrast between `#000000` (Black), `#FFFFFF` (White), and `#333333` (Dark Grey). * **Camera & Perspective:** Use an **OrthographicCamera** to maintain a 2D graphic design feel while utilizing 3D depth for interactions. The camera should be static and fixed. * **Geometries:** Use primitive shapes (BoxGeometry, PlaneGeometry) with very slight bevels/chamfers to catch simulated light, proving the 3D nature of the objects. * **Lighting:** Minimal ambient light combined with a directional light that casts sharp, dramatic shadows to emphasize depth when buttons are pressed or panels slide. * **Mobile Optimization:** Use `InstancedMesh` for repeating patterns (like the domino dots in the screenshot). Keep the polygon count extremely low. Use high-performance basic materials (`MeshLambertMaterial` or `MeshBasicMaterial`). ### 2. Audio Requirements * **BGM (Background Music):** A smooth, looping **minimalist Jazz** track. Think: upright bass, a slow snapping rhythm, and a solitary piano melody. It should feel "cool" and "intelligent." * **Sound Effects (SFX):** * **Interaction:** Sharp, crisp mechanical clicks (like a high-quality light switch) and sliding sounds (like cardboard moving on paper). * **Success:** A satisfying, resolving piano chord or a "ding" when the screen successfully turns fully black. * **Hint:** A "lightbulb turning on" sound. ### 3. Gameplay Loop * **Core Objective:** The goal of **every** level is identical: "Make the entire screen black." * **Level Mechanics (Examples to Implement):** * *Level 1 (Click):* A big white button in the center. Tapping it turns it black. * *Level 2 (Grid):* A grid of white tiles. Tapping one toggles it and its neighbors (Lights Out mechanic) until all are black. * *Level 3 (Cover):* A white background with movable black objects. The player must drag the black objects to cover all white pixels. * **Win Condition:** A global state checker runs every frame. If `WhitePixels == 0` (or logically equivalent), the level is complete. * **Transition:** Upon winning, the screen stays black for 1 second, the level number fades in white text, and then the next level loads. ### 4. Mobile Controls & Interaction * **Touch Input:** Implement a Raycaster attached to `touchstart`, `touchmove`, and `touchend` events. * **Tap:** For buttons and switches. * **Drag:** For sliders or covering mechanics. * **Orientation:** **Portrait Mode** (Vertical) is required to mimic holding a puzzle book or a phone naturally. * **UI/UX:** * **Hint System:** A small lightbulb icon in the top-right corner (min-size 44x44px for touch targets). * **Feedback:** Provide visual feedback on touch (e.g., button depresses on the Z-axis). * **Haptics:** Trigger `navigator.vibrate(10)` on every valid interaction (button press/switch toggle) to give physical weight to the digital puzzle. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Black is a captivating minimalist puzzle game that combines simple visual design with complex logical challenges. Your objective is deceptively simple: make the entire screen black. However, achieving this goal requires understanding each level's unique mechanics and thinking creatively about color manipulation.

The game features a striking monochromatic aesthetic with clean geometric patterns that create an immersive puzzle-solving environment. Each of the 25 levels introduces new rules and mechanics, ensuring that players constantly encounter fresh challenges that test different aspects of logical reasoning.

Core Features

Unique Level Design

Every level in Black operates under its own distinct logic system. What works in one level may not apply to another, keeping players engaged and preventing the gameplay from becoming repetitive. This design philosophy ensures that each puzzle feels like a new discovery.

Brain-Teasing Challenges

The game encourages players to think outside conventional puzzle-solving approaches. Solutions often require lateral thinking and the ability to perceive patterns that aren't immediately obvious. This makes Black particularly appealing to players who enjoy intellectual challenges.

Helpful Hint System

For players who find themselves stuck on particularly challenging levels, the game includes a built-in hint feature. This system provides gentle guidance without completely spoiling the solution, maintaining the satisfaction of personal discovery.

Cross-Platform Availability

While playable directly in web browsers, Black is also available as mobile apps for both Android and iOS devices, featuring 50 levels including additional content optimized for touch-screen play.

Gameplay Mechanics

The core gameplay revolves around interacting with various geometric shapes and patterns on screen. Players must discover how their actions affect the color distribution and work backwards from the desired outcome - a completely black screen.

Each level presents a different puzzle mechanism: - Some levels respond to clicking specific areas - Others require understanding sequence patterns - Certain puzzles involve spatial reasoning and shape manipulation - Advanced levels combine multiple mechanics for complex solutions

Operation Guide

Black uses an intuitive mouse-based control system:

  • Mouse Click : Primary interaction method for most levels
  • Mouse Movement : Some levels may respond to cursor positioning
  • Experimentation : Each level requires discovering its unique interaction method

The beauty of Black lies in its simplicity - there are no complex control schemes to master, allowing players to focus entirely on solving the logical puzzles.

Why Play This Game

Black offers a perfect blend of accessibility and intellectual challenge. Its minimalist design eliminates distractions, allowing players to focus purely on problem-solving. The game is ideal for:

  • Puzzle enthusiasts seeking fresh logical challenges
  • Casual gamers who appreciate clean, elegant design
  • Students and professionals looking for brain training exercises
  • Mobile users who want quality puzzle gaming on the go

The game's progressive difficulty curve ensures that both newcomers to puzzle games and experienced players will find appropriate challenges. Its free availability makes it risk-free to try, while the quality gameplay provides lasting entertainment value.

Frequently Asked Questions (FAQ)