simple water physics simulator water particles move down if they can, then if they are on the ground, they can move left right, or neither. Press the down arrow to start/stop water flow. In freeplay, hold space to create a barrier. Press r to remove all barriers. Hold e and hover over barriers to remove them.
Thanks to SamMerlin for the original idea/basic code. I have coded the rest, plus art. Full Game: https://scratch.mit.edu/projects/866644414/