Use the arrow keys to move the tiles, click to switch the colors. Look inside to find out how it works.