I'll build a polished toilet flush simulator game called "Flush Frenzy". Let me create a fun, tight gameplay loop where you flush items down the toilet before they escape, with combos, particles, and juicy feedback.
The build succeeded. Let me do a quick polish pass — I want to make the game's start feel even snappier and ensure the first flush opportunity is immediate.
Build succeeded! Here's what I built — Flush Frenzy 🚽, a polished arcade-style toilet flush simulator:
🎮 Core Gameplay (fun in <10s)
- Colorful items (🦆🧼🪥🧴🧻🩴🐸🪣🍩🦀) float toward the bowl from the top
- SPACE / tap to flush — spawns a swirling vortex that sucks nearby items into the drain
- First item arrives in ~0.15s, reaches the bowl in ~5s → instant engagement
- Combo system: chain successful sucks within 1.8s → x1→x9 multiplier
- Perfect bonus: suck 3+ items in one flush → +500 points
- 3 lives, misses flash the screen red and shake violently
- Difficulty ramps over 90s (faster spawns, faster items)
✨ Juicy Feedback
- Screen shake (intensity varies: 3 suck / 8 flush / 14 miss)
- WebAudio synthesized SFX — no assets needed: flush whoosh, suck blub, combo chirps, miss buzz, descending game-over arpeggio
- Particle effects: splash burst on flush, swirl trails behind pulled items, bubbles on consume
- Expanding ring ripples on every suck
- Animated vortex spiral with dashed pull-radius indicator
- Floating score popups that scale and fade
- Combo counter pulses on change, water ripples continuously in the bowl
🎯 Game States
- Start screen: animated toilet emoji, how-to-play, high-score board, pulsing-glow START button
- Playing: HUD with score, combo multiplier, 3 blood-drop lives, pause button
- Pause: overlay with Resume/Restart
- Game Over: trophy on new high score, rank on leaderboard, instant restart
🎛 Controls
- Desktop: SPACE to flush, P/Esc to pause, R to restart, Enter to start
- Mobile: tap canvas to flush, tap buttons for UI
touch-action: none + viewport lock prevent unwanted scrolling/zooming
🎨 Visual Theme
- Dark bathroom-tile floor with subtle blue grid + ambient glow
- Porcelain toilet bowl (top-down) with gradient rim and rim highlight
- Blue gradient water with continuous ripple animations
- Luckiest Guy display font + Fredoka body, sky-blue & amber accents
- Ambient floating bubbles in the background
⚡ Performance
- Canvas 2D with DPR capping (max 2×),
requestAnimationFrame loop with delta-time capped at 33ms
- Game runs in a fixed 480×800 logical space, scaled to any container
- Lightweight particle/ring systems filter out dead elements each frame
- Builds to a single 228 KB HTML file (71 KB gzipped)
High scores persist in localStorage (top 5). Ready to play — tap START and get flushing! 🚽💨
Files built: index.html, src/index.css, src/game/audio.ts, src/game/storage.ts, src/game/engine.ts, src/App.tsx