Bloom Sort - Flower Puzzle Game

Seele01-Flash
By
Bloom Sort is a charming merge puzzle game where you arrange colorful flower pots and merge matching petals to create beautiful blooms. Set in Amy's Flower Shop, this relaxing puzzle offers gentle challenges with stunning visuals and calming gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Bloom Sort**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** a bright, casual, and "cozy" 3D aesthetic. Use a warm, soft color palette (pastels: peach, teal, soft yellow, lavender). * **Camera View:** Fixed high-angle perspective (isometric feel) to clearly show the gameplay grid and depth of the flower pots. * **Models (Low-Poly/Primitive-based):** * **The Grid:** A 5x6 wooden or plastic tray texture acting as the board. * **The Pots:** Simple cylindrical low-poly models (brown/terracotta color). * **The Flowers:** Procedurally generated petals. Each flower consists of up to 6 petal segments. Use `THREE.ExtrudeGeometry` or simple flattened capsules to represent petals. Colors must be distinct. * **Background:** A blurred, wooden tabletop texture to simulate a florist's workbench. * **Optimization:** Use InstancedMesh for the petals and pots to ensure 60fps on mobile devices. Use simple Lambert or Phong materials to reduce lighting calculation costs. * **VFX:** Simple particle systems (confetti or glowing dust) that trigger when a flower is completed. ### 2. Audio Requirements * **BGM:** A calming, acoustic guitar or soft piano loop (Lofi style). It should be relaxing and unobtrusive. * **Sound Effects (SFX):** * **Pick Up:** A soft "pop" or "suction" sound when lifting a pot. * **Placement:** A gentle wooden "thud" or "tap" when dropping a pot on the grid. * **Merge/Whoosh:** A satisfying "slide" sound when petals transfer from one pot to another. * **Bloom/Complete:** A magical "chime" or harp glissando when a flower is fully formed and cleared. * **UI:** Soft clicks for buttons. ### 3. Gameplay Loop * **Core Mechanic (Stack & Merge):** * The player has a "Dock" at the bottom showing 2-3 available flower pots with random petal configurations (e.g., a pot with 2 red petals, or 1 blue petal). * The player drags a pot from the Dock to an empty slot on the main Grid. * **The Sorting Logic:** When a pot is placed, check its immediate neighbors (Up, Down, Left, Right). If a neighbor has the same color petals as the top layer of the placed pot, those petals fly from the neighbor **into** the placed pot (stacking up). * **Completion:** If a pot gathers 6 petals of the same color, the flower "Blooms" (plays an animation), awards points/coins, and the pot disappears from the grid, freeing up space. * **Win/Loss Condition:** * **Score:** Infinite play. The goal is to get the highest score. * **Loss:** The game ends if the Grid is full and the player cannot place any pots from the Dock. * **Progression:** As the score increases, introduce new petal colors to increase difficulty. ### 4. Mobile Controls & Interaction * **Orientation:** Portrait Mode (Vertical) to allow for one-handed play. * **Input System:** * Implement a custom `Raycaster` logic for Touch/Mouse events. * **Drag & Drop:** Touching a pot in the Dock lifts it (scale up slightly + shadow projection). Moving the finger drags the pot. Releasing over a valid grid slot snaps it into place. Releasing elsewhere returns it to the Dock. * **Visual Feedback:** * **Highlighting:** When dragging a pot over a grid slot, highlight the slot (glow or border) to show valid placement. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when a flower completes or a merge occurs. * **UI Layout:** * Top: Current Score & High Score. * Center: The 3D Grid. * Bottom: The Spawn Dock (high touch priority area). * Ensure all interactive elements have a hit area of at least 44x44 pixels. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Bloom Sort is a delightful merge puzzle game that combines the satisfaction of sorting with the beauty of flowers. Set in the enchanting world of Amy's Flower Shop, players arrange colorful flower pots and merge matching petals to unlock stunning new blooms. This relaxing puzzle game features beautiful graphics, soothing music, and gentle challenges that make it perfect for unwinding after a busy day.

Core Features

Relaxing Merge Gameplay

Bloom Sort offers a unique twist on traditional merge puzzle mechanics. Instead of numbers or shapes, you'll be working with gorgeous flower petals in vibrant colors. The game's sorting system is intuitive yet engaging, providing hours of peaceful entertainment.

Beautiful Visual Design

The game showcases stunning graphics with: - Colorful flower designs in multiple varieties and hues - Charming character art featuring Amy and her flower shop - Smooth animations that bring the floral world to life - Calming color palette designed to promote relaxation

Progressive Challenges

While maintaining its relaxing nature, Bloom Sort offers: - Gradually increasing difficulty to keep players engaged - New flower varieties to discover and unlock - Creative puzzle layouts that test your sorting skills - Bonus challenges for extra rewards and coins

Reward System

As you progress through the floral journey, you'll collect: - Coins for completing successful merges - Bonuses for achieving perfect sorting combinations - Special rewards for unlocking rare flower varieties - Achievement badges for reaching gameplay milestones

Game Mechanics

Bloom Sort combines elements of puzzle solving, pattern recognition, and strategic thinking. Players must: - Identify matching flower petals and colors - Plan optimal placement for maximum merging potential - Create chain reactions for bonus points - Unlock new flower types through successful combinations

How to Play

Basic Controls

The game uses simple and intuitive controls: - Left mouse click to select and move flower pots - Drag and drop to arrange flowers on the sorting board - Click matching petals to merge and create new blooms

Gameplay Strategy

  1. Observe the board and identify matching flower colors
  2. Plan your moves to create the most efficient merging sequences
  3. Combine matching petals to unlock new flower varieties
  4. Collect rewards and use coins to enhance your flower shop
  5. Progress through levels to discover increasingly beautiful blooms

Why Play Bloom Sort

Perfect for Relaxation

Bloom Sort is specifically designed as a stress-relief puzzle game. The combination of gentle challenges, beautiful visuals, and calming music creates an ideal environment for unwinding and mental relaxation.

Brain Training Benefits

While relaxing, the game also provides: - Pattern recognition skill development - Strategic thinking enhancement - Color coordination practice - Problem-solving exercise in a low-pressure environment

Accessibility and Convenience

  • Free to play with no hidden costs or premium requirements
  • Browser-based gaming with no download necessary
  • Mobile-friendly design for play on any device
  • Pick-up-and-play format perfect for short gaming sessions

Suitable for All Ages

The game's gentle difficulty curve and beautiful theme make it appropriate for players of all ages, from children learning colors and patterns to adults seeking a peaceful gaming experience.

Frequently Asked Questions (FAQ)