I'm looking for an existing game as a reference.
It is where you try to complete a path across the screen by turning tiles.
I can't remember if it is electricity, circuits, or water.
Back in the day you had Pipe Dream for NES:
But you can just search for "pipe games", and you'll find plenty.
Develop games in your browser. Powerful, performant & highly capable.
I fully agree with what said [quote:19r7mrqd]jalindson
plumber games you do this kind of thing, has a plethora of them, it is not difficult to program them.
Pipe games . The best pipe connection games. Connect pipes with as much skill as you can so the water flows correctly!