Fruity Party - Match 3 Puzzle Game

Seele01-Flash
By
Fruity Party is a delightful match-3 puzzle game featuring colorful fruits like grapes, apples, bananas, and pears. Swap fruit pieces to create matches of three or more and clear challenging puzzles with special power-ups.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Fruity Party**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a vibrant, 2.5D or 3D "Juicy" aesthetic. While the gameplay is grid-based, the assets should be 3D models with slightly exaggerated, cartoonish proportions (Low-poly with smooth shading). * **Fruit Assets:** Generate 3D geometries for: * **Grapes:** A cluster of purple spheres. * **Apple:** A glossy red sphere with a small stem/leaf. * **Banana:** A yellow curved cylinder shape, partially peeled style if possible, or just a bright yellow crescent. * **Dragon Fruit/Pear:** A pinkish-red shape with green spike details. * **Ice Cube:** A translucent, light blue cube with bevelled edges (acts as a blocker or special tile). * **Disco Ball (Special Item):** A sphere with a reflective, multi-faceted mirror texture that rotates. * **Background:** A deep blue, checkerboard pattern (simulated via a texture or shader) that mimics a dance floor. It should be dark enough to make the colorful fruits pop. Add a subtle, pulsating vignette effect to simulate party lighting. * **Particle Effects:** Crucial for the "Juicy" feel. When matches occur, spawn small 3D sprites or particles (splashes of juice in the corresponding fruit color) that explode outward and fade. * **Performance:** Use instanced meshes for the fruit grid to ensure 60fps on mobile devices. Keep polygon counts low per fruit (<500 tris). ### 2. Audio Requirements * **BGM:** An upbeat, looped "Nu-Disco" or "Funk Pop" track. It should have a groovy bassline and a moderate tempo (110-120 BPM) to match the "Party" theme, but not be too distracting. * **SFX:** * **Swap:** A quick, high-pitched "whoosh" or "pop" sound. * **Match/Burst:** A wet, satisfying "squish" or "splash" sound. * **Disco Ball Activation:** A rising synthesizer sound followed by a shimmering glass chime effect. * **Invalid Move:** A dull, low-pitched "thud" or spring vibration sound. ### 3. Gameplay Loop * **Core Mechanic:** Classic Match-3 grid system (e.g., 8x8 grid). * **Interaction:** Players swap adjacent fruits to form a horizontal or vertical line of 3 or more identical items. * **Matching Logic:** * **Match 3:** Fruits vanish, particles explode, new fruits fall from the top to fill gaps. * **Match 4+:** Create a "Power Fruit" (glowing version). * **Disco Ball Mechanic:** If the player matches 5 or activates a specific combo, spawn a Disco Ball. Swapping a Disco Ball with any fruit instantly destroys *all* instances of that fruit type on the board. * **Score System:** Points are awarded per fruit destroyed. Chain reactions (cascades) award multipliers (x2, x3). * **Win/Loss:** The game acts as an "Endless Score Attack" or a "Level Mode" where the player must reach a target score within a specific number of moves. ### 4. Mobile Controls & Interaction * **Touch Controls:** Implement a robust touch interaction system. * **Swipe:** Allow users to swipe a fruit in the direction they want to swap. * **Tap-Tap:** Allow users to tap the first fruit (highlight it) and then tap the adjacent destination fruit. * **Orientation:** **Portrait Mode** (Vertical) is required to facilitate one-handed play on smartphones. * **Camera:** Fixed perspective camera, looking slightly down at the board (orthographic or narrow FOV perspective) to ensure touches are accurate. * **UI/UX:** * Score and Moves counter should be placed at the very top of the screen (safe from notch area). * Touch targets for fruits must be large enough to prevent mis-clicks. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) on every successful match to enhance the tactile feel. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Fruity Party is an engaging match-3 puzzle game that combines classic gameplay mechanics with vibrant fruit-themed graphics. Players swap adjacent fruit pieces to create matches of three or more identical fruits, earning points and clearing the puzzle board. The game features beautiful illustrations of grapes, apples, bananas, and pears set against a dark blue background that makes the colorful fruits pop.

Core Features

Classic Match-3 Gameplay

Enjoy the timeless satisfaction of matching colorful fruits in groups of three or more. The intuitive swap mechanics make it easy for players of all ages to jump in and start playing immediately.

Variety of Delicious Fruits

The game showcases four main types of fruits: - Purple Grapes : Clustered in bunches for satisfying matches - Red Apples : Classic crisp apples that add vibrant color to the board - Yellow Bananas : Curved tropical fruits that bring sunny energy - Green Pears : Elegant pear shapes that complete the fruit collection

Special Power-Up: Disco Ball

The game features an exciting disco ball power-up that adds strategic depth to the gameplay. When activated, the disco ball will automatically clear all tiles of a specific fruit type from the board, creating massive scoring opportunities and helping players overcome challenging situations.

Colorful Visual Design

The game's aesthetic features bright, appealing fruit graphics against a deep blue background. Each fruit type is distinctly designed with rich colors and clear shapes, making it easy to identify matching opportunities quickly.

Game Mechanics

Basic Matching Rules

  • Swap adjacent fruits horizontally or vertically
  • Create matches of 3 or more identical fruits
  • Matched fruits disappear and new ones fall from above
  • Chain reactions create bonus points

Scoring System

  • Basic 3-match: Standard points
  • 4+ matches: Bonus multipliers
  • Chain combos: Escalating point values
  • Special power-up activations: Major score boosts

Operation Guide

Mouse Controls: - Click and drag to swap adjacent fruits - Select two neighboring pieces to exchange positions - Watch for valid swap opportunities highlighted by the game

Touch Controls (Mobile): - Tap and drag fruits to swap positions - Simple touch interface optimized for mobile play - Responsive controls for smooth gameplay experience

Strategy Tips: - Look for opportunities to create 4+ matches for special pieces - Plan moves to set up chain reactions - Save disco ball power-ups for maximum impact - Focus on clearing fruits from the bottom to create cascading effects

Why Play This Game

Perfect for Puzzle Lovers : Fruity Party offers the classic match-3 experience that puzzle game enthusiasts crave, with enough strategic depth to keep players engaged for hours.

Relaxing Yet Challenging : The game provides a perfect balance of relaxation and mental stimulation. The colorful fruits and smooth animations create a calming atmosphere while the puzzle mechanics keep your mind sharp.

Accessible for All Ages : Simple controls and intuitive gameplay make this game suitable for children and adults alike. No complex rules to learn - just start swapping and matching!

Free Entertainment : Enjoy unlimited gameplay without any cost. Perfect for quick breaks or extended gaming sessions.

Cross-Platform Compatibility : Play seamlessly across different devices - desktop, tablet, or smartphone - with your progress maintained across platforms.

Frequently Asked Questions (FAQ)