Rollway Lines

Drag to draw a plank and the marble is let go at once; the line along the top is how much plank is left. Tap a plank to take it away, or anywhere else to drop the marble again. From the keyboard: arrows move a pencil, Enter puts down each end of a plank, Space drops the marble, Z takes the last plank away. Every cup needs a marble.