Cookie Master - Creative Cookie Decorating Game

Seele01-Flash
By
Cookie Master is a delightful simulation game where you design, decorate, and sell custom cookies to satisfy customers. Perfect your baking skills and become the ultimate cookie master with increasingly advanced decorating tools.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Cookie Master". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, "Hyper-Casual" aesthetic. Use a "Toy-like" rendering style with smooth shaders (MeshStandardMaterial) and soft, rounded edges. * **Key Models:** * **Cookie Base:** A 3D extruded shape (initially a Duck shape as seen in the reference) with a golden-brown "baked dough" texture. * **Piping Bag:** A stylized, low-poly cone shape (blue and white) that hovers above the cookie. * **Frosting:** This should not be a separate mesh but a dynamic texture layer on top of the cookie. The icing should look glossy, thick, and liquid. * **Lighting & Background:** * Use a solid pastel blue background (`#87CEEB` or similar) to match the screenshot. * Lighting should be bright and soft. Use a `HemisphereLight` for base illumination and a `DirectionalLight` with soft shadows to create depth, simulating a studio lightbox environment. * **Performance:** * Use low polygon counts for the piping bag. * Implement the frosting mechanic using a dynamic `CanvasTexture` updated in real-time to ensure 60FPS on mobile devices, rather than complex fluid simulations. ### 2. Audio Requirements * **BGM:** A relaxing, cozy "Lo-fi" or acoustic guitar track that loops seamlessly. It should be background filler, not distracting. * **Sound Effects (SFX):** * **Frosting:** A soft, satisfying "squishing" or "flowing" ASMR sound that plays continuously while the player is touching the screen to pipe icing. * **Completion:** A cheerful "Ta-da!" or upbeat chime when the cookie is finished. * **UI:** Soft "pops" or "clicks" when selecting colors or tools. ### 3. Gameplay Loop * **The Objective:** The player acts as a baker fulfilling a customer's specific order (e.g., "I want a yellow duck"). * **Phase 1: Frosting (Core Mechanic):** * The camera is fixed in a top-down or slight isometric view. * The player moves the piping bag over the cookie. * Wherever the piping bag hovers while input is active, "paint" the cookie texture with the selected icing color (Yellow). * Calculate the percentage of the cookie surface covered. * **Phase 2: Evaluation:** * Once the player releases the touch or clicks "Done", evaluate the accuracy (e.g., is 90%+ covered?). * Show a star rating (1-3 stars) based on coverage accuracy. ### 4. Mobile Controls & Interaction * **Touch Input (Raycasting):** * Implement a Raycaster that maps 2D screen touch coordinates to the 3D plane of the cookie. * **Drag to Paint:** The piping bag model must follow the user's finger (or mouse) position instantly with a slight smoothing/lerp effect for a premium feel. * **Auto-Dispense:** The icing should automatically dispense when the finger is held down on the screen. * **Screen Orientation:** Portrait Mode (Vertical) preferred for one-handed play. * **UI Design:** * Place a "Done/Serve" button at the bottom center of the screen, large enough for a thumb (minimum height 60px). * Show a "Progress Bar" at the top indicating how much of the cookie has been frosted. * **Haptic Feedback:** Trigger the device's vibration (if supported via Navigator.vibrate) while the player is actively frosting to simulate the resistance of the piping bag. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Cookie Master

Cookie Master is an engaging simulation game that combines creativity with business strategy. In this charming cooking game, you take on the role of a talented baker who designs and decorates various types of cookies to serve eager customers. The game challenges you to match customer preferences while expressing your artistic flair through beautiful cookie creations.

This browser-based simulation offers a perfect blend of creativity and time management, making it an ideal choice for players who enjoy cooking games, art activities, and casual gaming experiences.

Core Features

Creative Cookie Design System

The heart of Cookie Master lies in its comprehensive cookie customization system. You'll have access to numerous decorating tools, icing colors, sprinkles, and special toppings to create unique cookie masterpieces. Each cookie becomes a canvas for your creativity.

Progressive Tool Unlocking

As you advance through the game, you'll unlock better and more sophisticated decorating tools. Start with basic icing and simple toppings, then progress to advanced decorating equipment that allows for even more intricate and beautiful cookie designs.

Customer Satisfaction Gameplay

Success in Cookie Master depends on your ability to read customer orders and create cookies that match their specific requests. Pay attention to color preferences, decoration styles, and special requirements to maximize customer satisfaction and earnings.

Relaxing Cozy Experience

The game provides a stress-free, cozy gaming environment perfect for unwinding. The cheerful graphics, soothing gameplay mechanics, and creative freedom make it an excellent choice for relaxation and artistic expression.

Gameplay Mechanics

Cookie Creation Process

  1. Order Reception : Receive customer orders showing desired cookie designs
  2. Base Selection : Choose the appropriate cookie shape and size
  3. Decoration Phase : Apply icing, sprinkles, and special decorations
  4. Quality Check : Ensure your creation matches the customer's request
  5. Service : Serve the finished cookie and collect payment

Business Management Elements

While primarily focused on creativity, Cookie Master includes light business simulation elements. Earn coins from satisfied customers to unlock new tools, ingredients, and decorating options that expand your creative possibilities.

Operation Guide

Cookie Master features intuitive mouse-based controls that make the decorating process smooth and enjoyable:

  • Mouse Cursor : Select, drag, and move all objects and tools
  • Click and Drag : Apply icing and decorations with natural motions
  • Tool Selection : Click on different tools to switch between decorating options
  • Precision Control : Use careful mouse movements for detailed decoration work

The simple control scheme ensures that players of all ages and skill levels can enjoy the creative process without complex button combinations or difficult mechanics.

Why Play Cookie Master

Perfect for Creative Expression

Cookie Master offers unlimited creative freedom in a structured, goal-oriented environment. Whether you're an aspiring baker, art enthusiast, or simply someone who enjoys creative games, this simulation provides the perfect outlet for artistic expression.

Suitable for All Ages

The game's family-friendly content, simple controls, and positive atmosphere make it suitable for players of all ages. It's particularly popular among younger players who enjoy cooking and decorating activities.

No Commitment Required

As a free browser game, Cookie Master requires no downloads, installations, or commitments. Simply open your browser and start creating beautiful cookies immediately.

Stress-Free Gaming

Unlike competitive or high-pressure games, Cookie Master offers a relaxing experience where you can take your time, experiment with designs, and enjoy the meditative process of cookie decoration.

Educational Value

The game subtly teaches color coordination, pattern recognition, following instructions, and basic business concepts while maintaining an entertaining and engaging experience.

Frequently Asked Questions (FAQ)