1001 Arabian Nights

Swap 2 items to match 3 or more of the same items in a row. Collect all the pieces of the magic item to advance to the next level.