Triple Fruit - Match 3 Puzzle Game

Seele01-Flash
By
Triple Fruit is an engaging match 3 puzzle game where players clear colorful fruits by strategically placing three matching items on plates. Perfect for puzzle lovers seeking a fun brain challenge.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Triple Fruit". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Adorable "Kawaii" 3D aesthetic using **Low-Poly models with Toon Shading (Cel-shading)** to mimic the 2D cartoon banner. Colors should be vibrant, pastel, and highly saturated (Bright Pinks, Cyan, Lime Green). * **Key Models:** * **Fruits/Veggies:** Create distinct low-poly shapes for: Onion (teardrop), Peach (sphere with crease), Banana (curved cylinder), and Kiwi (half-cylinder). **Crucial:** Apply simple textures or distinct geometry to give them cute "faces" (eyes and mouth) as seen in the reference image. * **The Plate (Dock):** A sleek, elongated tray or circular dish at the bottom of the screen capable of holding up to 7 items. * **The Rack (Source):** A disorderly pile or a rotating grid of mixed fruits above the plate. * **Obstacles:** "Rocks" that look like grey, jagged lumps. They have no faces and look heavy. * **Environment:** A static background simulating a sunny day: a gradient sky (Light Blue to White) with a faint "sunburst" ray pattern and a simple green ground plane. * **Performance:** Use `THREE.InstancedMesh` for the fruits to handle many objects efficiently on mobile. Use a single shared texture atlas for colors/faces. ### 2. Audio Requirements * **BGM:** A lighthearted, bouncy, and looping track (approx. 120 BPM). Style: "Casual Puzzle" using pizzicato strings, marimbas, or soft synths. * **Sound Effects (SFX):** * **Tap/Select:** A satisfying "pop" or "bloop" sound when a fruit is clicked. * **Move to Plate:** A quick "whoosh" slide sound. * **Match Success:** A high-pitched, rewarding "ding-ding-ding" or magical chime when 3 items clear. * **Error/Rock:** A dull "thud" or "buzz" sound if the player tries to interact with a rock incorrectly. * **Game Over:** A descending slide whistle or sad trombone. ### 3. Gameplay Loop * **Mechanic (Tile Match Logic):** 1. The scene presents a pile/structure of mixed 3D objects (Fruits + Rocks). 2. **Action:** When the player taps a Fruit, it animates (flies/scales) from the pile into the "Plate" (docking bar) at the bottom. 3. **Matching:** The Plate holds up to 7 items. The game checks automatically: if **3 identical items** exist in the Plate, they merge, disappear, and award points. The remaining items shift to fill the gap. 4. **The Rock Constraint:** Rocks cannot be moved to the plate directly (or take up a permanent "dead" slot if moved, requiring a power-up to remove). 5. **Power-ups:** Implement buttons for "Rotate" (shuffles the layout of the source pile) and "Roll" (removes one unwanted item from the plate). * **Win Condition:** Clear the entire source pile of fruits. * **Lose Condition:** The Plate becomes full (7 items) with no matches available. ### 4. Mobile Controls & Interaction * **Control Scheme:** Single-touch input. Use `THREE.Raycaster` mapped to `touchstart` events. * **Orientation:** **Portrait Mode** (Vertical) is mandatory to accommodate the "Pile above, Plate below" layout comfortably on phones. * **UI/UX:** * The "Plate" slots should be large enough for fat-finger tapping. * Power-up buttons should be placed at the very bottom or side, distinct from the game board, minimum 44x44px hit area. * **Feedback:** When a fruit is touched, apply a small "squash and stretch" tween animation or a scale pulse to indicate selection before it moves. Add `navigator.vibrate(50)` (haptic feedback) on every successful tap if supported. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Triple Fruit is a delightful match 3 puzzle game that combines colorful fruit characters with strategic thinking. In this charming 2D puzzle adventure, your mission is to clear all the food items from the screen by carefully arranging three matching fruits on individual plates. The game features adorable animated fruit characters with expressive eyes and personalities that make each level engaging and fun.

The core gameplay revolves around logical thinking and pattern recognition. Unlike traditional match 3 games where items disappear automatically, Triple Fruit requires you to actively place matching fruits onto plates, adding a strategic layer that makes each move count.

Core Features

Strategic Match 3 Gameplay

Triple Fruit reinvents the classic match 3 formula by requiring players to manually place matching fruits on plates. This mechanic transforms simple matching into a puzzle that demands forethought and planning.

Adorable Fruit Characters

The game features charming 2D fruit characters with big expressive eyes and animated personalities. From cheerful oranges to cool cucumbers, each fruit has its own distinct character that brings life to the puzzle experience.

Power-Up System

Two essential power-ups enhance your puzzle-solving capabilities: - Rotate Power-Up : Change the orientation of fruit arrangements to create better matching opportunities - Roll Power-Up : Rearrange fruits on the rack to access different combinations

Progressive Difficulty

Each level introduces new challenges and layouts that test your logic skills. The difficulty gradually increases, ensuring both beginners and experienced puzzle players find appropriate challenges.

Obstacle Elements

Watch out for rocks and other non-fruit items that cannot be placed on plates. These obstacles add complexity and require careful planning to work around them.

Game Mechanics

The gameplay mechanics are intuitive yet challenging:

  1. Fruit Selection : Click on fruits from the rack at the bottom of the screen
  2. Plate Placement : Strategically place three matching fruits on empty plates
  3. Clearing Logic : Successfully matched fruits disappear from the plate, making room for new combinations
  4. Obstacle Navigation : Identify and work around rocks and other non-placeable items
  5. Power-Up Timing : Use rotate and roll abilities at optimal moments to create winning combinations

Operation Guide

Basic Controls

  • Mouse Click : Use the left mouse button to select and place fruits from the rack
  • Plate Interaction : Click on empty plates to place selected fruits
  • Power-Up Activation : Access rotate and roll power-ups through the game interface

Winning Strategies

  1. Plan Ahead : Survey the entire rack before making moves to identify potential matches
  2. Prioritize Clearing : Focus on clearing fruits that block access to other matches
  3. Save Power-Ups : Use rotate and roll abilities when you're truly stuck or can create multiple matches
  4. Rock Management : Plan around immovable rocks by creating matches that don't require their spaces

Why Play Triple Fruit

Perfect for All Ages

Triple Fruit offers clean, family-friendly entertainment suitable for children and adults alike. The colorful graphics and simple mechanics make it accessible to younger players, while the strategic depth provides sufficient challenge for experienced gamers.

Brain Training Benefits

This match 3 puzzle game exercises several cognitive skills: - Pattern Recognition : Identifying matching fruits develops visual processing - Strategic Planning : Thinking several moves ahead improves problem-solving - Spatial Reasoning : Understanding how pieces fit together enhances spatial intelligence

Stress-Free Gaming

With no time pressure or competitive elements, Triple Fruit provides a relaxing gaming experience perfect for unwinding after a busy day. The cheerful fruit characters and soothing gameplay create a positive, stress-free environment.

Completely Free Access

Enjoy the full Triple Fruit experience without any cost. No downloads, installations, or purchases required – simply open your browser and start playing immediately.

Cross-Platform Compatibility

Play on any device with a web browser, including desktop computers, laptops, tablets, and smartphones. The game automatically adapts to different screen sizes for optimal playing experience.

Frequently Asked Questions (FAQ)