Plumber Duck - Cute Pipe Puzzle Game

Seele01-Flash
By
Plumber Duck is an adorable pipe puzzle game where you help cute duckies escape by connecting and aligning water pipes. With charming graphics and engaging gameplay, it's perfect for puzzle lovers of all ages.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Plumber Duck". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A bright, colorful **Casual 3D** aesthetic using a **Toon Shader** or Low-Poly style. The mood should be tropical and bubbly. * **Background**: A static or slowly animated background depicting a tropical sky (Cyan/Blue gradient) with low-poly palm trees and white clouds, matching the screenshot's sunny vibe. * **The Grid**: A centered tile-based grid (e.g., 5x7) floating in the center of the screen. * **The Pipes (Models)**: * Generate 3D pipe geometries (Cylinders/Torus segments) for: **Straight**, **Elbow (90-degree)**, **T-Shape**, and **Cross**. * **State Colors**: Pipes should be **White/Grey** when dry (unconnected) and turn **Hot Pink** (or fill with blue liquid effects) when connected to the water source. * **The Duck**: A cute, yellow rubber ducky 3D model positioned at the "End/Drain" tile. * **Optimization**: Use `InstancedMesh` for pipe segments to ensure 60FPS on mobile devices. Keep polygon counts low. ### 2. Audio Requirements * **BGM**: A cheerful, looping tropical track featuring marimbas or steel drums, light and non-intrusive. * **Sound Effects (SFX)**: * **Rotate**: A plastic "squeak" or mechanical "clack" sound when a user taps a pipe. * **Flow**: A rushing water sound when the path is successfully connected. * **Win**: A happy "Quack" sound followed by a short fanfare/chime. * **UI**: Soft "pop" sounds for button clicks. ### 3. Gameplay Loop * **Setup**: The game starts with a grid of scrambled pipe segments. There is a fixed **Water Source** (Start) and a **Duck Exit** (End). * **Mechanic**: * The player taps a pipe segment to rotate it 90 degrees clockwise. * The goal is to create a continuous, unbroken path from the Source to the Exit. * **Win Condition**: * The system real-time checks connectivity. * Once connected, a "Water Flow" animation travels from start to end (changing pipe colors sequentially). * When water hits the Duck, the Duck plays a "jump/bounce" animation, and the "Level Complete" UI appears. * **Progression**: Simple level generation algorithm that ensures a solvable path exists. ### 4. Mobile Controls & Interaction * **Camera**: Use an **Orthographic Camera** to ensure the puzzle grid is perfectly readable and flat, eliminating perspective distortion which can make edge-tapping difficult. * **Controls**: * **Tap/Touch**: Implement a Raycaster bound to `touchstart` events (not just click) for instant mobile response. * **Hit Area**: Ensure each pipe's invisible hit box is slightly larger than the visible model to accommodate "fat finger" inaccuracy. * **Feedback**: * **Visual**: When tapped, the pipe should briefly scale down and up (elastic tween) to indicate interaction. * **Haptics**: Trigger `navigator.vibrate(10)` on every successful rotation for tactile feedback. * **UI Layout**: * Portrait Mode orientation. * UI buttons (Restart, Next Level) must be at the bottom of the screen, minimum 44x44 pixels size. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Plumber Duck is a delightful puzzle game that combines cute duck characters with classic pipe-connecting gameplay. Your mission is simple yet engaging: align the pipes correctly to create a clear path for the adorable duckies to flush through. This charming HTML5 game offers hours of brain-teasing fun with its colorful graphics and intuitive mechanics.

The game features a unique twist on traditional plumber puzzles by adding loveable duck characters that bring personality and charm to each level. As you progress through increasingly challenging stages, you'll need to think strategically about pipe placement and water flow to successfully guide all the duckies to safety.

Core Features

Adorable Duck Theme

Unlike typical pipe puzzle games, Plumber Duck features cute cartoon duckies as the main characters. Watch as these charming creatures swim through your carefully constructed pipe networks, adding a delightful visual element to the puzzle-solving experience.

Progressive Difficulty

The game starts with simple pipe arrangements and gradually introduces more complex layouts. Each level presents new challenges that require careful planning and logical thinking to solve effectively.

Instant Browser Gameplay

Built with HTML5 technology, Plumber Duck runs smoothly in any modern web browser without downloads or installations. The game is optimized for both desktop and mobile devices, ensuring a seamless experience across all platforms.

Family-Friendly Content

With an "All Ages" content rating, this game is perfect for players of any age. The cute graphics and non-violent gameplay make it an excellent choice for family gaming sessions.

Gameplay Mechanics

The core gameplay revolves around rotating and positioning pipe segments to create continuous pathways for water flow. Each level presents a grid of pipe pieces that must be arranged to connect the starting point to the exit. The challenge lies in determining the correct orientation and sequence of pipes to ensure smooth water flow.

Success requires spatial reasoning and forward planning. You'll need to visualize the complete path before making moves, as incorrect pipe placement can block the duckies' escape route. The game rewards efficiency and clever solutions with satisfying animations of duckies successfully navigating through your pipe systems.

Operation Guide

Basic Controls

  • Mouse : Click and drag to rotate pipe segments on desktop computers
  • Touch : Tap and swipe to manipulate pipes on mobile devices
  • Keyboard : Use arrow keys for navigation and spacebar for pipe rotation (desktop only)

How to Play

  1. Analyze the Level : Study the starting pipe configuration and identify the entry and exit points
  2. Plan Your Route : Visualize the optimal path for water flow from start to finish
  3. Rotate Pipes : Click or tap pipe segments to rotate them into the correct position
  4. Test the Flow : Once you believe the path is complete, activate the water flow to test your solution
  5. Adjust if Needed : If the duckies can't complete their journey, adjust pipe positions and try again

Pro Tips

  • Start from either the beginning or end point and work toward the middle
  • Pay attention to pipe types - some pieces can only connect in specific ways
  • Take your time to plan; there's no time pressure in most levels

Why Play Plumber Duck

Perfect Casual Gaming Experience

Plumber Duck offers the ideal balance of challenge and relaxation. The puzzles are engaging enough to stimulate your mind while remaining accessible to casual players. The cute duck theme adds a layer of charm that makes even failed attempts enjoyable.

Educational Benefits

This game naturally develops spatial reasoning, logical thinking, and problem-solving skills. Players learn to visualize complex pathways and understand cause-and-effect relationships through hands-on puzzle solving.

Stress-Free Environment

With no time limits or penalty systems, players can enjoy a pressure-free gaming experience. The soothing graphics and gentle gameplay make it an excellent choice for unwinding after a busy day.

Universal Appeal

The combination of cute characters, intuitive gameplay, and progressive difficulty ensures that Plumber Duck appeals to a wide audience, from young children developing their puzzle-solving skills to adults seeking a relaxing mental challenge.

Frequently Asked Questions (FAQ)