City of Ember Pipeworks

Seele01-Flash
By
City of Ember Pipeworks is an engaging pipe-connecting puzzle game where you race against time to create water flow paths. Connect pipes from tap to drain before the pressure builds up!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Underground Industrial Pipeworks" (inspired by *City of Ember*). Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A "Steampunk Lite" or "Retro-Industrial" aesthetic. Use a **2.5D perspective** (Orthographic Camera) to maintain grid clarity while giving depth to the models. * **Color Palette**: Background should be a warm, muted beige/cream (resembling old blueprints or parchment). Pipes should be distinct colors: Rusty Orange (Copper), Teal (Oxidized Brass), and Dark Grey (Iron). * **Models**: * **Pipes**: Low-poly 3D cylinder segments with flanged joints. Types: Straight, Elbow (90-degree), T-Shape, and Cross. * **Start/End Points**: A detailed "Valve Wheel" for the start (Water Source) and a "Grated Drain" for the end. * **Decorations**: Animated 3D gears/cogs slowly rotating in the background (behind the grid) to add life without distracting. * **Effects**: * **Steam**: Simple particle systems (white, semi-transparent sprites) puffing rhythmically from joints to indicate pressure. * **Water Flow**: When the water flows, the connected pipes should visually fill up (lerp color from metallic to bright blue) sequentially. * **Mobile Optimization**: Use instanced mesh for pipe segments to reduce draw calls. Keep textures low-res or use procedural materials to keep load times instant. ### 2. Audio Requirements * **BGM**: A subtle, rhythmic industrial ambient track. Sounds of distant machinery, ticking clockwork, and low-frequency hums. It should increase in tempo as the "Pressure Gauge" fills up. * **Sound Effects (SFX)**: * **Interaction**: A satisfying metallic "Clank" or "Ratchet" sound when tapping to rotate a pipe. * **Water Flow**: A rushing liquid sound (Whoosh) when the valve is opened. * **Success**: A steam whistle blast followed by the sound of gears engaging. * **Failure**: A comedic "Clunk" followed by a splashing water sound and escaping steam hiss. ### 3. Gameplay Loop * **Grid System**: A fixed grid (e.g., 5x7 for Portrait mode). The grid is populated with randomized pipe segments. * **Mechanic**: The player must create a continuous path from the Start Valve to the End Drain. * **Action**: Tapping a grid cell rotates the pipe piece 90 degrees clockwise. * **Pressure Timer**: A visual "Pressure Gauge" UI element slowly fills up. If it maxes out before the path is complete, the pipes "burst" (game over). * **Win Condition**: When a valid path is formed, the player can tap a "Release Valve" button (or it triggers automatically when the timer ends), causing water to flow. If it reaches the drain, the level is cleared. ### 4. Mobile Controls & Interaction * **Touch Inputs**: * **Tap to Rotate**: Single tap on any pipe grid cell to rotate it. Raycaster must be precise. * **Long Press**: Optional feature to "Lock" a pipe in place (visualized by a bolt tightening). * **Screen Orientation**: **Portrait Mode** only. This allows for easy one-handed play on mobile devices. * **UI Layout**: * Top: Level Counter and Score. * Center: The Game Grid (centered and maximized width). * Bottom: The "Pressure Gauge" bar and a large, circular "OPEN VALVE" action button (min size 60x60px). * **Feedback**: * **Haptics**: Trigger a short, sharp vibration (HapticFeedback.light) every time a pipe is rotated. Trigger a heavy vibration on Game Over. * **Visual**: When a pipe connects correctly to its neighbor, the joint briefly flashes white to indicate a valid link. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

City of Ember Pipeworks is a fast-paced puzzle game that challenges your logic and speed. With a solid 3.2/5 rating from players, this engaging water pipe puzzle puts you in control of a complex plumbing system where timing is everything. Your mission is simple yet thrilling: connect pipes to create a continuous water flow from the tap to the drain before the water pressure becomes too much to handle.

Core Features

Time-Pressure Gameplay

Experience the excitement of working under pressure as you quickly arrange pipe segments to form complete water pathways. The ticking clock adds intensity to every move you make.

Intuitive Mouse Controls

Enjoy simple yet precise gameplay with easy mouse-based controls. Click and drag to position pipes exactly where you need them, making the game accessible for players of all skill levels.

Progressive Difficulty

Start with simple pipe arrangements and gradually face more complex plumbing challenges. Each level introduces new obstacles and layouts that test your puzzle-solving abilities.

Visual Feedback System

Watch water flow through your completed pipe networks, providing satisfying visual confirmation of successful connections and immediate feedback on your progress.

Gameplay Mechanics

The core gameplay revolves around strategic pipe placement and time management. You'll need to:

  • Analyze the Layout : Study the starting tap position and target drain location
  • Plan Your Route : Visualize the most efficient path for water flow
  • Quick Assembly : Rapidly place pipe pieces to complete the connection
  • Beat the Clock : Finish before water pressure reaches critical levels

Pipe Types and Connections

The game features various pipe segments including straight pipes, curved joints, and T-connections. Understanding how each piece fits together is crucial for creating leak-free water pathways.

Operation Guide

Mouse Controls : Use your mouse to interact with all game elements - Click : Select pipe pieces from your inventory - Drag : Position pipes in the grid layout - Release : Place pipes in their final positions

Objective : Create a complete water pathway from the source tap to the destination drain using available pipe pieces.

Strategy Tips : - Work backwards from the drain to plan your route - Keep an eye on the pressure gauge - Don't rush - accuracy is more important than speed - Save complex pieces for critical connections

Why Play This Game

City of Ember Pipeworks offers the perfect blend of logical thinking and time pressure that makes puzzle games addictive. Whether you're a casual player looking for a quick mental challenge or a puzzle enthusiast seeking engaging gameplay, this game delivers:

  • Completely Free : No downloads or payments required
  • Browser-Based : Play instantly on any device with a web browser
  • Mental Exercise : Improve your spatial reasoning and quick decision-making
  • Stress Relief : Channel focus into satisfying pipe-connecting gameplay
  • All Ages : Suitable content rating makes it perfect for family gaming

The combination of plumbing mechanics with puzzle-solving creates a unique gaming experience that's both educational and entertaining. Perfect for short gaming sessions during breaks or extended puzzle-solving marathons.

Frequently Asked Questions (FAQ)