Hint: Try dragging one tile into an adjacent tile. Swap them to make lines of 3 or more like colors. Figuring out the rules is half the fun.

Animation speed (left is faster):

Animation steps (left is smoother, but requires a faster computer):

Timeout after matches (all the way left if you don't want the game to pause to show matches being made):