Butterfly Shimai

Seele01-Flash
By
Butterfly Shimai is a captivating mahjong connect puzzle game where you match identical butterfly pairs to set them free. Experience enchanting visuals and engaging gameplay in this delightful browser-based adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Butterfly Shimai (Enchanted Forest Connect)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A 2.5D top-down view with a "Magical Forest" aesthetic. The color palette should be dominated by soothing teals, purples, and vibrant neon accents (like the screenshot title). * **Grid Assets (The Tiles):** instead of standard mahjong tiles, generate rounded rectangular planes. Each tile displays **one-half of a butterfly wing** (left or right). The texture should be vibrant (monarch orange, morpho blue, swallowtail yellow). * **Background:** A deep, blurred forest canopy background (static image or simple gradient mesh) to provide contrast so the colorful tiles pop. * **Particle Effects:** * **Selection:** A soft glowing halo appears around a selected tile. * **Match Success:** When two matching wings are connected, they should merge into a full 3D butterfly (simple low-poly or sprite), flap its wings, and fly off the screen leaving a trail of "pixie dust" particles. * **Connection Line:** A glowing light beam must draw the path between tiles when a match is made, showing the player the route. * **Mobile Optimization:** Use `THREE.InstancedMesh` for the grid tiles to reduce draw calls. Texture resolution should be kept moderate (512x512 max per atlas). ### 2. Audio Requirements * **BGM (Background Music):** A looping, ethereal track featuring harp, wind chimes, and soft synth pads. It should feel Zen and relaxing, matching the nature theme. * **Sound Effects (SFX):** * **Select:** A soft, high-pitched "droplet" or "bubble" pop. * **Match:** A magical "shimmer" sound combined with a soft wing-flap foley. * **Invalid Move:** A gentle, low-pitched wooden "thud" (avoid harsh error buzzers). * **Win/Level Clear:** A harmonious major-chord arpeggio. ### 3. Gameplay Loop * **Core Mechanic (Mahjong Connect / Onet):** * Generate a grid (e.g., 6x10) of butterfly wing tiles. * **Matching Rule:** Two identical tiles can be removed ONLY if they can be connected by a line with **no more than two 90-degree turns** (maximum 3 straight line segments). The path cannot pass through other existing tiles. * Tiles must be matched: Left Wing + Right Wing of the same species/color. * **Win Condition:** Clear the entire board before a timer runs out (optional) or simply clear it to advance. * **Fail Condition:** No legal moves remaining (trigger a reshuffle automatically or Game Over). * **Feature:** "Hint" system that briefly highlights a valid pair if the player is idle for 10 seconds. ### 4. Mobile Controls & Interaction * **Input Handling:** Use a `Raycaster` for touch/mouse detection. * **Tap/Click:** Select the first tile (it scales up 1.1x and glows). Tap a second tile to attempt a match. * **Deselect:** Tapping the same tile again or tapping an invalid tile cancels the selection. * **Screen Orientation:** **Landscape** orientation is preferred to fit the wide grid, but the camera FOV should adjust dynamically if the user is in Portrait mode to keep the whole grid visible. * **UI Layout:** * Place a "Pause" and "Shuffle/Hint" button in the top-right corner (minimum 44x44px touch target). * Display a simple progress bar at the top indicating how many butterflies have been saved. * **Haptic Feedback:** Trigger a light vibration (`navigator.vibrate(50)`) on a successful match to provide tactile gratification. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Butterfly Shimai is a mesmerizing mahjong connect puzzle game that combines the classic gameplay of traditional mahjong with beautiful butterfly-themed visuals. This enchanting puzzle adventure invites players to explore a magical world where colorful butterflies await your help to be set free. The game offers a perfect blend of relaxation and mental challenge, making it ideal for puzzle enthusiasts of all skill levels.

Featuring stunning graphics with vibrant colors and smooth animations, Butterfly Shimai creates an immersive experience that captivates players from the first click. Each butterfly is beautifully designed with unique patterns and colors, creating a visually appealing gameplay experience that stands out among puzzle games.

Core Features

Beautiful Butterfly Theme

Immerse yourself in a world filled with graceful butterflies, each designed with intricate details and vibrant colors. Watch as matched butterflies flutter away in elegant animations, creating a satisfying visual reward for each successful connection.

Classic Mahjong Connect Gameplay

Enjoy the timeless appeal of mahjong connect mechanics, where strategy meets relaxation. The game challenges your pattern recognition skills while providing a calming, meditative gaming experience.

Cross-Platform Compatibility

  • Complete browser support : Play instantly on any modern web browser
  • Mobile optimization : Perfectly adapted for smartphones and tablets
  • No download required : Start playing immediately without installations
  • Touch and mouse support : Seamless control options for all devices

Progressive Difficulty

The game features carefully designed levels that gradually increase in complexity, ensuring both beginners and experienced players find appropriate challenges. Each level introduces new butterfly arrangements and connection patterns.

Game Mechanics

Connection Rules

In Butterfly Shimai, you must find and connect identical butterfly pairs to remove them from the board. Successful connections create beautiful flight animations as the butterflies soar away, clearing space for new matches.

Strategic Elements

  • Plan your moves carefully to avoid blocking future connections
  • Look for the longest possible connection paths
  • Clear butterflies strategically to reveal hidden pairs underneath
  • Time management adds excitement without pressure

Controls and Interface

Simple One-Click Operation

The game uses intuitive point-and-click mechanics: - Left mouse button : Click to select and match butterfly pairs - Touch interface : Tap butterflies on mobile devices for seamless gameplay - Visual feedback : Clear highlighting shows valid connections and available moves

User-Friendly Design

The interface is clean and uncluttered, focusing attention on the beautiful butterfly arrangements while providing easy access to game options and progress information.

Why Play Butterfly Shimai

Perfect for Relaxation

This game offers a peaceful escape from daily stress. The combination of gentle gameplay, soothing visuals, and satisfying connection mechanics creates a truly relaxing experience that helps clear your mind.

Brain Training Benefits

  • Pattern recognition : Improve visual processing skills
  • Strategic thinking : Develop planning and foresight abilities
  • Concentration : Enhance focus through engaging puzzle-solving
  • Memory enhancement : Exercise recall abilities through tile matching

Accessible Entertainment

Whether you're a mahjong veteran or puzzle game newcomer, Butterfly Shimai provides an welcoming entry point into the world of connection puzzles. The game's forgiving pace allows players to learn and improve at their own speed.

Ideal for All Situations

  • Quick breaks : Perfect for short gaming sessions
  • Extended play : Engaging enough for longer puzzle-solving marathons
  • Stress relief : Calming gameplay helps unwind after busy days
  • Skill building : Continuous challenge progression keeps gameplay fresh

Frequently Asked Questions (FAQ)