Fluid Gates

A network of tanks joined by one-way pipes, each with a valve. Every tick, open pipes move up to their rate. Get the marked tanks to their target levels — then close every valve.

Open and close valves to move whole units of liquid until the marked tanks hold their targets.

FreeOn this device

12A 5/7 →3B 0/6 →2C 3/12

Orange dashes mark targets. This is a transport puzzle in whole units — no pressure or flow physics.

Valves

Tanks

  • A: 5 / 7 (target 3)
  • B: 0 / 6 (target 2)
  • C: 3 / 12
Tick 0 · paused · 0 valves open · 0 wasted.

Controls

  • Toggle a valve with its button in the Valves list (Tab and Enter or Space work too).
  • Run 1 tick advances once; Run continuously ticks once per second until you Pause. Reset puts every tank back.
  • Free experiment hides the targets so you can explore a network.

The rules

  • Each open pipe moves up to its rate per tick, but never more than its source held at the start of the tick.
  • A tank accepts only what fits in the space it had at the start of the tick; pipes are served in pipe-number order. What is refused stays where it was.
  • Everything moves at the same moment, so liquid can never pass through two tanks in one tick. A drain keeps everything it receives as waste.

Scoring, saving and limits

A network is solved when every target is met and every valve is closed. Less waste is better, then fewer ticks; each network shows a reference result.

Your tank levels, valves, mode and best results are kept on this device only. Download a backup to move them.

Whole units only. This is a transport puzzle, not a model of pressure, head loss or real fluid flow.

Questions

Why didn't the liquid go straight through the middle tank?
Each tick works from the volumes at its start, so liquid arriving in a tank this tick can only leave it next tick.
Why must the valves be closed to finish?
Otherwise the next tick would change the levels again — a target is only met if it stays met.
Is the reference the best possible?
No claim is made. It is one schedule known to work; beat it if you can.