Fruit Ninja-style web game
A web game based on the popular Mobile game 'Fruit Ninja'
Prompt
Act as a Principal Creative Technologist, Game Architect, and UI/UX Designer. You have complete creative autonomy to conceptualize, name, design, and build an original, interactive arcade web game from scratch that showcases the absolute peak of your coding, physics logic, and visual design capabilities. ### Core Concept & Game Mechanics Build a tactile, high-juice fruit-slicing arcade game inspired by Fruit Ninja, elevated into a global culinary adventure featuring real-world regional progression: 1. **Interactive World Map & Regional Themes:** Create a stylized, interactive world map hub where players select real-world regions (e.g., Southeast Asia, Mediterranean, South America, East Asia). Each region dynamically alters the game's visual backdrop, color palette, ambient particle effects, and custom-drawn/vector produce: - *Southeast Asia:* Durian, Mangosteen, Dragon Fruit, Rambutan. - *Mediterranean:* Fig, Pomegranate, Blood Orange, Olive. - *South America:* Passion Fruit, Papaya, Guava, Acai. - *East Asia:* Yuzu, Lychee, Persimmon, Matcha Melon. 2. **Region-Specific Hazards & Special Produce:** Replace generic bombs with culturally themed hazards and mechanics (e.g., spiky sea urchins that end the run, fiery chili peppers that temporarily invert colors or blur the screen, and tough coconuts/durians that require rapid multi-slices to crack open for bonus points). 3. **Difficulty Tiers:** Include selectable difficulty modes per region: - *Chill (Zen):* No hazards, relaxing pacing, continuous combo flow. - *Classic:* 3 lives (missed fruits or hazards deduct lives), balanced physics. - *Master (Frenzy):* High-velocity launches, smaller hitboxes, and "Combo-Only" scoring where single slices award zero points. 4. **Unlockable Blades & Juice/Recipe Book:** - **Blades:** Earn coins/XP from slicing to unlock regional blades (e.g., Thai Carving Knife, Japanese Santoku, Machete) that change the HTML5 Canvas blade trail visuals, glow effects, and synthesized Web Audio API sound effects. - **Culinary Compendium / Blender:** Slicing specific combinations of regional fruits fills a meter to unlock real-world regional drink/dessert cards (e.g., Mango Sticky Rice, Agua Fresca, Yuzu Sorbet) with fun trivia and mini-buffs. 5. **Synthesized Sound & Tactile Feedback:** Use the native Web Audio API (zero external audio file dependencies) to synthesize crisp blade whooshes, juicy splatter impacts, combo chimes, and hazard explosions, paired with canvas screen-shake, hit-stop frames, juice splatter decals, and floating combo text. ### Technical & UI/UX Requirements - **Architecture:** Build the entire program as a single-file, production-ready React component (using Tailwind CSS, Lucide icons, and an HTML5 `<canvas>` physics/rendering engine) or a self-contained HTML/CSS/JS file so it launches immediately in an interactive preview window with zero external asset links that could break. - **iOS Mobile Touch Optimization:** Design specifically for mobile portrait viewports (`touch-none`, `select-none`, responsive scaling, smooth 60fps pointer/touch tracking for multi-finger or rapid swipe slicing, and thumb-friendly UI overlays). - **Zero Placeholders:** Write 100% of the working game loop, projectile physics, line-circle slice intersection math, particle systems, procedural fruit rendering, local storage progression, and UI state transitions with zero placeholder comments or non-functional buttons. Before generating the code, invent a catchy title and briefly introduce the aesthetic theme, regional mechanics, and custom Easter eggs you engineered for the game.
A system prompt was added to support web rendering
Response not available