Tap an island, then one in line with it.
Bridges. Every puzzle has exactly one solution.
Join the islands so each has as many bridges as its number. Bridges run straight, never cross, at most two per pair, and everything ends up connected.