Tap a tile to colour it in, then tap its match to clear the pair. They link if a path with up to two turns joins them, even around the edge.