Dalgona Candy Honeycomb Cookie

Seele01-Flash
By
Dalgona Candy Honeycomb Cookie is a relaxing and challenging cookie carving game where you carefully cut out intricate shapes from delicate honeycomb cookies using precision tools.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Dalgona Candy Challenge". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-fidelity "Food Porn" aesthetic. The visuals should be warm, inviting, and appetizing. Use realistic PBR materials for the candy (roughness maps to simulate the porous sugar texture, sub-surface scattering for a warm glow). The background should be a solid, calming teal or pastel color (referencing the screenshot) to keep the focus entirely on the cookie. * **Key Models:** * **The Tin:** A silver, circular metal tin container (highly reflective metal material). * **The Cookie:** A flat, circular honeycomb toffee disk. It needs a distinct "indented" path (a recessed geometry channel) representing the shape (Heart, Star, Umbrella, Circle). * **The Tool:** A shiny, silver sewing needle with a comfortable handle. The needle tip must precisely track touch input. * **Particle Effects:** Tiny crumbs or sugar dust particles should spawn when the needle moves along the carving path to simulate breaking the surface. * **Mobile Optimization:** Use baked lighting for the environment to save performance. Limit the polygon count of the needle and tin, focusing the geometry budget on the cookie's fracture lines. ### 2. Audio Requirements * **BGM:** A tense but playful track. Think minimal pizzicato strings or a ticking clock motif that speeds up slightly as the timer runs down, similar to game show tension music but less aggressive. * **SFX:** * **Carving:** A satisfying, crunchy "scratching" or "scraping" sound (ASMR style) that loops while the player is actively carving. * **Cracking:** A sharp "snap" sound if the player presses too hard or goes off the line (failure state). * **Success:** A triumphant, magical chime when the shape pops out cleanly. * **UI:** Soft "pop" sounds for button presses. ### 3. Gameplay Loop * **Core Mechanic:** The player must trace a specific shape (e.g., a heart) embedded in the cookie without breaking the outer brittle parts. * **Tension System:** Introduce a "Stress Meter" or "Cracking Probability." If the player moves the needle too fast or deviates too far from the guide line, the cookie starts to turn red or show hairline fractures. * **Win Condition:** Successfully trace the entire perimeter of the shape within a time limit (e.g., 60 seconds). Once completed, the outer cookie falls away, leaving the shape intact. * **Lose Condition:** The cookie breaks (loud crack sound, visual fracture mesh appears) if the stress meter maxes out, or if time runs out. ### 4. Mobile Controls & Interaction * **Touch Input:** * **Hold & Drag:** The primary control. The player touches the screen to lower the needle and drags to carve. * **Pressure Simulation (Long Press):** Instead of just moving x/y, the code should interpret the speed of the drag. Moving too fast = higher risk of breaking. * **Haptic Feedback (Crucial):** Use the Vibration API. * **Light Vibration:** Continuous, low-intensity vibration while carving to simulate friction. * **Heavy Vibration:** A strong jolt when the player is about to break the cookie (warning) or when it actually breaks. * **Orientation:** Portrait mode (Vertical) is preferred to focus on the circular tin in the center of the screen. * **UI Layout:** * **Top:** A countdown timer bar (visual tension). * **Center:** The 3D view of the tin/cookie. * **Bottom:** No controls needed (screen is the controller), but perhaps a "Reset" button in the top-right corner (min 44px touch target). ### 5. Code Structure * Start with a basic Three.js scene setup (scene, camera, renderer). * Include a `GameState` manager (Menu, Playing, Won, Lost). * Implement a `Cookie` class that handles the geometry and the "health" of the candy. * Use `Raycaster` for mapping touch coordinates to the 3D needle position. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dalgona Candy Honeycomb Cookie is an engaging shape-carving simulation game that brings the popular Korean dalgona candy challenge to your browser. This casual arcade game combines precision, patience, and creativity as you carefully carve out various shapes from fragile honeycomb cookies without breaking them.

Inspired by the viral dalgona candy trend, this game offers a stress-free way to experience the satisfaction of creating perfect cookie art. With its colorful graphics and intuitive controls, it's suitable for players of all ages looking for a relaxing yet challenging gaming experience.

Core Features

Diverse Cookie Types and Shapes

The game features multiple cookie varieties including classic Korean dalgona honeycomb cookies and American-style cookies. Each level presents unique shapes to carve, from simple hearts and stars to complex animal silhouettes and intricate geometric patterns.

Precision Carving Tools

Use a variety of specialized cookie carver tools designed for different cutting techniques. Each tool offers unique advantages for specific shapes and cookie types, allowing you to develop your own carving strategies.

Progressive Difficulty System

Start with simple shapes and gradually advance to more complex designs. The game introduces new challenges and cookie types as you progress, keeping the experience fresh and engaging.

Relaxing Gameplay Experience

Unlike time-pressured games, Dalgona Candy Honeycomb Cookie emphasizes careful, methodical gameplay. Take your time to plan your cuts and enjoy the meditative process of cookie carving.

Game Mechanics

Cookie Carving Process

Each level presents you with a honeycomb cookie containing an embedded shape outline. Your goal is to carefully trace around the shape's perimeter, removing the excess cookie material without damaging the delicate design inside.

Precision Requirements

Success depends on steady hand movements and strategic planning. Cut too fast or apply too much pressure, and the fragile honeycomb structure may crack, requiring you to restart the level.

Shape Variety

From basic geometric forms to detailed animal outlines, each shape presents unique challenges. Hearts and circles test your curve-cutting skills, while complex animals require careful navigation around intricate details.

Controls and Operation

Mouse Controls : Use the left mouse button to control your carving tool. Click and drag to make precise cuts along the shape outline.

Cutting Technique : Apply gentle, consistent pressure while following the shape's border. Avoid sudden movements or rushing, as the honeycomb cookie can break easily.

Tool Selection : Different levels may offer various carving tools. Select the appropriate tool based on the shape complexity and your cutting strategy.

Why Play This Game

Stress Relief and Relaxation

The game's calm, methodical gameplay provides excellent stress relief. The focused concentration required for precise cutting creates a meditative experience similar to real-world crafting activities.

Skill Development

Improve your hand-eye coordination and precision control through progressive challenges. Each successful carve builds confidence and refines your technique.

Cultural Connection

Experience the popular Korean dalgona candy tradition in a safe, virtual environment. Learn about this cultural phenomenon while enjoying engaging gameplay.

Accessibility

Completely free to play with no downloads required. The game runs smoothly in any modern web browser on desktop or mobile devices, making it accessible anywhere.

Perfect for All Ages

Whether you're a child developing fine motor skills or an adult seeking relaxation, the game's adjustable difficulty and patient pace accommodate all skill levels.

Frequently Asked Questions (FAQ)