# CONDUIT

A modern reimagining of **Pipe Dream** (1991) / Pipe Mania. Lay fittings ahead of a luminous flood. Meet the quota. Do not spill early.

## Play

Open `index.html` from any static server, or:

```bash
python3 serve.py
```

Serves on port **8088**.

## How to play

- A **source valve** will open after the countdown.
- Click a cell to drop the next fitting from the queue (right-click or `H` to hold).
- Connect openings: runs, risers, elbows, crosses, cisterns.
- The glow must travel through a **minimum number of pipes**. Extra length scores more; unused fittings cost pressure.
- Open jobs: after the quota, a spill **wins**. Closed jobs must reach the **sink**.
- Wet pipes are locked. Dry pipes may be recast at a cost.

### Keys

| Key | Action |
|-----|--------|
| click | Place |
| `H` / right-click | Hold |
| `Space` | Rush flow (after quota) / start in Zen |
| `P` | Pause |
| `R` | Restart level |
| `Esc` | Menu |
| `F` | Fullscreen |

## Modes

- **Campaign** — 20 named jobs, walls, closed circuits, rising pressure.
- **Endless** — surge until you breach.
- **Zen** — no timer; start the glow when you are ready.

Settings (music, effects, difficulty, palettes, CRT, reduced motion) and scores stay in local storage when available.

Inspired by The Assembly Line’s *Pipe Mania* and Lucasfilm Games’ *Pipe Dream* (1991). This is an original reimagining, not a ROM or asset copy.
