Butterfly Kyodai - Free Online Mahjong Connect Game

Seele01-Flash
By
Butterfly Kyodai is an enchanting mahjong connect puzzle game featuring beautiful butterflies in mystical forest settings. Match colorful butterfly tiles across 60 challenging levels with folk-inspired music and stunning backgrounds.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**3D Butterfly Kyodai: Mystical Connect**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A charming, "Fairy Tale" aesthetic using Low-poly 3D models with vibrant, high-saturation textures. The atmosphere should be magical and relaxing. * **The Grid (Tiles):** Create the board using `THREE.InstancedMesh` for performance optimization on mobile. Each tile is a slightly thick 3D slab (stone or wooden texture) lying flat on the Z-plane. * **Butterfly Assets:** * The tile faces display **half-wings** (left or right). * **Key Visual Effect:** When two matching tiles are connected, they should not just vanish. Instead, spawn a simple 3D butterfly model (or a sprite) that combines the two wings, plays a "flutter" animation, and flies off the screen towards the UI score counter. * **Background:** A static or slowly scrolling parallax background representing a blurred "Mystical Forest" or "Fairy Village" to provide depth without consuming GPU resources. * **Particles:** Soft "fairy dust" particles (glowing dots) floating in the background and a burst of sparkles when tiles connect. * **Camera:** Fixed perspective (OrthographicCamera preferred for clear grid alignment) looking down at the board. ### 2. Audio Requirements * **BGM:** A looping "Folk-inspired" track featuring flute, harp, and soft nature sounds (birds chirping, wind in leaves). It should be calming and unobtrusive. * **Sound Effects (SFX):** * **Select:** A soft wood-block click or light tap. * **Match Success:** A magical chime or harp glissando. * **Wing Flutter:** A rapid, soft flapping sound when the butterfly flies away. * **Invalid Move:** A dull "thud" or subtle buzzer. * **Shuffle/Hint:** A magical "whoosh" sound. * **Time Warning:** A ticking clock sound when the timer is below 10 seconds. ### 3. Gameplay Loop * **Core Mechanic (Mahjong Connect):** The player must select two matching butterfly wings (e.g., Red Admiral Left + Red Admiral Right, or two identical wings depending on asset simplicity). * **Connection Rule:** The path between the two tiles cannot have more than **two 90-degree turns** (standard Onet/Kyodai rule). The path cannot pass through other existing tiles. * **Visualizing the Link:** When a valid match is made, draw a glowing line (using `THREE.Line` or a shader) showing the connection path for 0.5 seconds before the tiles disappear. * **Win Condition:** Clear all tiles from the board to proceed to the next level (increase grid size or reduce time limit on subsequent levels). * **Lose Condition:** The timer reaches zero. * **Auto-Check:** If no moves are possible, the game must automatically shuffle the remaining tiles. ### 4. Mobile Controls & Interaction * **Input Handling:** Use `THREE.Raycaster` to detect touches/clicks on the grid. * **Selection State:** When a tile is tapped, it should scale up by 1.1x and emit a soft glow to indicate selection. * **Deselection:** Tapping the background or the same tile again cancels the selection. * **Orientation:** **Portrait Mode** preferred for one-handed mobile play, but the grid should scale dynamically to fit the screen width. * **UI Layout:** * **Top Bar:** Level indicator, Score, and a visual Progress Bar for the Timer. * **Bottom Bar:** Large, thumb-friendly buttons (min 44x44px hit area) for "Hint" (finds a pair) and "Shuffle" (rearranges tiles). * **Haptic Feedback:** Trigger a light vibration (using `navigator.vibrate`) upon a successful match to provide tactile reward. 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 Kyodai is a captivating mahjong connect game that combines the classic tile-matching mechanics with a magical butterfly theme. This free online puzzle game transports you to mystical forests and adorable fairy villages that are gradually revealed as you successfully match butterfly tiles. With its charming visuals and soothing folk-inspired soundtrack, the game offers a relaxing yet engaging puzzle experience suitable for players of all ages.

The game features stunning butterfly designs with wings in various colors and combinations, including both real species and fantastical creatures that exist only in this magical world. As you progress through the 60 levels, you'll discover new environments and unlock beautiful background scenes that add to the game's enchanting atmosphere.

Core Features

Magical Butterfly World

Explore mystical forests and fairy villages as backgrounds are revealed with each successful tile match. The game's artistic design creates an immersive environment that evolves as you progress through different levels.

60 Challenging Levels

With 60 unique levels to conquer, Butterfly Kyodai provides hours of engaging puzzle gameplay. Each level presents new arrangements and increasing difficulty to keep you challenged and entertained.

Beautiful Butterfly Designs

Discover a variety of butterfly species with colorful wings and intricate patterns. The game features both realistic butterfly designs and imaginative fantasy creatures that add visual appeal to each puzzle.

Helpful Game Features

  • Hint System : Get stuck? Use the hint feature to reveal possible matches
  • Restart Option : Start any level over if you want to improve your score
  • Auto-Mix : When no moves are available, tiles automatically reshuffle
  • Score Tracking : Monitor your progress and compete for high scores
  • Timer Challenge : Race against time to add excitement to each level

Cross-Platform Compatibility

Built with HTML5 technology, Butterfly Kyodai runs smoothly on desktop computers, tablets, and smartphones without requiring any downloads or installations.

Game Mechanics

How Mahjong Connect Works

Unlike traditional mahjong solitaire, mahjong connect allows you to match tiles that can be connected with a line containing no more than two 90-degree angles. This creates strategic depth as you must plan your moves to avoid blocking important connections.

Tile Matching Rules

  • Select two identical butterfly tiles to make a match
  • Tiles must be connectable with a path of no more than two right-angle turns
  • Successfully matched tiles disappear, revealing the beautiful background
  • Clear all tiles to complete the level and advance

Operation Guide

Basic Controls

  • Mouse/Touch : Click or tap on butterfly tiles to select them
  • Matching : Select two identical tiles that can be connected
  • Hint Button : Click for assistance when stuck
  • Restart Button : Start the current level over
  • Pause : Take a break without losing progress
  • Sound Toggle : Adjust audio settings to your preference

Gameplay Interface

The right-hand panel displays essential information: - Current level number - Your accumulated score - Countdown timer - Access to game options (pause, restart, hint, sound)

Scoring System

Earn points for each successful match, with bonus points awarded for: - Fast completion times - Completing levels without using hints - Consecutive successful matches

Why Play Butterfly Kyodai

Perfect for Relaxation

The combination of beautiful visuals, soothing music, and engaging puzzle mechanics makes this game ideal for stress relief and mental relaxation. The butterfly theme and mystical settings create a peaceful gaming environment.

Brain Training Benefits

Mahjong connect games like Butterfly Kyodai help improve: - Pattern Recognition : Identifying matching tiles quickly - Strategic Thinking : Planning moves to avoid dead ends - Memory Skills : Remembering tile positions and possible matches - Concentration : Focusing on the puzzle while managing time pressure

Accessibility for All Players

Tagged as "Easy," the game welcomes beginners while still offering challenge through its 60 levels. The hint system ensures players never get permanently stuck, making it enjoyable for casual gamers and puzzle enthusiasts alike.

Free Entertainment

Enjoy hours of high-quality puzzle gaming completely free. No subscriptions, no in-app purchases – just pure puzzle fun accessible through your web browser.

Frequently Asked Questions (FAQ)