Match the tiles to clear them from the screen. Clear them all to win. If you clear enough tiles to make a path, matching tiles can be connected through the path, so long as they are not too far apart.