Raise and lower each chamber, close the valves, then open the gate when the water matches the next reach.
↑/W fill · ↓/S drain · C close · Space/Enter gate · P pause · R restart