Draw the optimal path to move water and fill the glass, avoiding obstacles.
Use touch screen on mobile or tablet. Use mouse on PC.