Math Slash — 3D
A Fruit Ninja-inspired math game where players slash flying fruits whose equations equal a target number. Features 8 progressive difficulty levels from basic addition to mixed operations, 3D rendering with Three.js, blade trail effects, particle explosions, combo streaks, sound effects, and a tutorial system.
About This Prototype
Type
game advancedTech Stack
AI Model
Claude Opus 4.6
Lines of Code
720
Starter Prompt
Create a Fruit Ninja-style 3D math game. Fruits fly upward in parabolic arcs, each displaying a math equation. A target number is shown at the top. Players swipe to slash only the fruits whose equation equals the target. Include: Three.js 3D rendering with sphere fruits that split into halves when sliced, a glowing blade trail on the 2D canvas layer, particle explosions and star bursts on correct slashes, 8 progressive levels (addition, subtraction, multiplication, mixed ops), combo streak scoring, 3 lives system, round-based progression with 5 correct answers to advance, screen shake on wrong answers, Web Audio API sound effects, a first-time tutorial overlay, and a dark space-purple shader background. Touch and mouse input. Responsive.