Fruit Ninja - Free Online Fruit Slicing Game

Seele01-Flash
By
Fruit Ninja is the legendary fruit-slicing arcade game where you swipe to cut flying fruits while avoiding deadly bombs. Build massive combos and compete for the highest score in this addictive classic.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Fruit Ninja Clone**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-saturation, semi-realistic "Arcade Dojo" aesthetic. * **Camera Setup**: A static PerspectiveCamera positioned to view a 2D plane (x, y) where the action happens, simulating a "looking at a wall" perspective. * **Background**: A high-resolution, tiling wood grain texture (Dojo floor/wall style) affected by soft ambient lighting. * **3D Models (Low-Poly for Mobile)**: * **Fruits**: Apple, Banana, Watermelon, Coconut, Pear. (Use simple geometric approximations or low-poly meshes). * **Bomb**: A round black sphere with a sparking fuse and a red pulsing glow emission. * **Debris**: Pre-modeled "sliced" versions of the fruits (two halves) to swap in instantly upon collision. * **Visual Effects (VFX)**: * **Blade Trail**: A procedural ribbon mesh or `TrailRenderer` that follows the user's touch input, fading from white to transparent. * **Juice Splatters**: Particle system explosions (using `THREE.Points` or InstancedMesh) matching the color of the fruit sliced. * **Wall Decals**: Semi-transparent "splat" textures appearing on the background wall behind sliced fruits, fading out over time. ### 2. Audio Requirements * **BGM**: Energetic, rhythmic traditional Japanese music featuring Taiko drums and Shamisen (flute), looping seamlessly. * **Sound Effects (SFX)**: * **Swipe**: "Whoosh" air-cutting sounds varying in pitch based on swipe speed. * **Slice**: Wet, squishy impact sounds distinct for different fruit sizes. * **Bomb**: A sizzling fuse loop and a loud explosion sound. * **Combo**: An ascending chime or gong sound when 3+ fruits are cut in one stroke. ### 3. Gameplay Loop * **Spawning Logic**: Fruits and Bombs are tossed upwards from the bottom of the screen (y < 0) with randomized X/Y velocity and rotational torque, following parabolic gravity arcs. * **Slicing Mechanic**: * Detect intersection between the "Swipe Line" (raycaster between previous and current touch point) and the Fruit Mesh. * If intersected: Destroy original mesh, spawn two "halves" with opposing separation forces, trigger juice particles, and add score. * **Combo System**: If the player slices 3 or more fruits within a very short time window (e.g., 200ms) or a single continuous swipe, display "COMBO" text and award double points. * **Win/Loss Conditions**: * **Score**: +1 per fruit, +10 for Critical Strike (random chance). * **Game Over**: Triggered immediately if a **Bomb** is sliced, or if the player misses (lets fall) 3 fruits total (display "X" icons for misses). ### 4. Mobile Controls & Interaction * **Touch Controls**: * Implement `touchmove` event listeners mapped to a Raycaster. * The blade trail must track the finger position with zero latency. * Minimum swipe velocity threshold: Only register a "cut" if the finger is moving fast enough to prevent accidental touches. * **Haptics**: Trigger `navigator.vibrate(50)` on every successful fruit slice for tactile feedback. * **Screen Adaptation**: * The game must handle `window.resize` to adjust the camera aspect ratio for both Portrait and Landscape modes. * **UI Layout**: Score display in the top-left (safe area), "Lives/Misses" in top-right. * **Restart UI**: A large, thumb-friendly centered button (minimum 60x60px) appearing on the "Game Over" overlay. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Fruit Ninja

Fruit Ninja is the iconic arcade game that revolutionized mobile gaming with its simple yet addictive fruit-slicing gameplay. In this fast-paced action game, you become a skilled ninja armed with razor-sharp blades, tasked with slicing through an endless barrage of flying fruits including juicy watermelons, crisp apples, tropical pineapples, and exotic coconuts.

The game challenges players to achieve the highest possible score by demonstrating precision, timing, and strategic thinking. With its colorful graphics, satisfying slice mechanics, and competitive scoring system, Fruit Ninja has become a timeless classic that appeals to players of all ages.

Core Features

Multiple Game Modes

Experience different challenges with various gameplay modes that test your slicing skills in unique ways. Each mode offers distinct objectives and scoring mechanics to keep the gameplay fresh and engaging.

Combo System

Build impressive combos by slicing multiple fruits in a single swipe. The more fruits you cut simultaneously, the higher your score multiplier becomes, allowing skilled players to achieve astronomical scores.

Critical Strikes

Master the art of perfect timing to land critical strikes on fruits. These precision cuts award bonus points and add an extra layer of skill to the seemingly simple slicing mechanics.

Power-ups and Special Effects

Discover special fruits and power-ups that can dramatically boost your score or provide temporary advantages during intense fruit-slicing sessions.

Cross-Platform Gaming

Enjoy seamless gameplay across all devices - from desktop computers to smartphones and tablets. Your ninja skills translate perfectly whether you're using a mouse or touchscreen.

Gameplay Mechanics

Basic Slicing

The core gameplay revolves around swiping across fruits as they fly up from the bottom of the screen. Each successful slice awards points, with bonus multipliers for style and precision.

Bomb Avoidance

Stay alert for dangerous bombs mixed among the fruits. Accidentally slicing a bomb will immediately end your game, making careful observation and quick reflexes essential for high scores.

Fruit Variety

Slice through an extensive variety of fruits, each with unique visual effects and point values. From small berries to massive watermelons, every fruit provides a satisfying cutting experience.

Operation Guide

Desktop Controls

  • Mouse : Click and drag across fruits to slice them
  • Trackpad : Swipe with your finger for natural cutting motions
  • Touch Screen : Direct finger swiping for the most authentic experience

Mobile Controls

  • Touch Screen : Simply swipe your finger across the screen to cut fruits
  • Multi-touch : Use multiple fingers for complex slicing patterns

Pro Tips

  • Watch fruit trajectories to plan your slicing path
  • Aim for multiple fruits in single swipes to maximize combo potential
  • Stay focused on bomb identification to avoid game-ending mistakes
  • Practice different swiping speeds for various fruit types

Why Play Fruit Ninja

Instant Accessibility

No downloads, no installations, no waiting. Jump straight into the action through your web browser on any device. This makes Fruit Ninja perfect for quick gaming sessions during breaks or extended play marathons.

Skill Development

  • Hand-eye coordination : Improve your reflexes and precision
  • Pattern recognition : Learn to identify optimal slicing opportunities
  • Strategic thinking : Balance risk and reward in bomb-heavy situations
  • Stress relief : Enjoy satisfying, therapeutic fruit-slicing action

Competitive Elements

Challenge yourself to beat the world record of 37,144 points, or simply try to surpass your personal best. The scoring system encourages continuous improvement and provides endless replayability.

Universal Appeal

Suitable for players of all skill levels and ages. The intuitive controls make it easy for beginners to start playing immediately, while the advanced scoring mechanics provide depth for experienced gamers.

Perfect for Any Occasion

Whether you have 30 seconds or 30 minutes, Fruit Ninja adapts to your schedule. Quick rounds make it ideal for casual gaming, while the addictive nature keeps you coming back for longer sessions.

Frequently Asked Questions (FAQ)