Drag a glowing thread from each ball to its twin. Fill every square. Lines can't cross.
Tap a ball to start a thread from it (or grab a thread mid-way to reroute). Cross another color and you'll cut it. You win when all three pairs are joined and no square is left empty.